Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to forbid a file? [moved]

Discussion in 'General Discussion' started by Spidey, Mar 18, 2006.

  1. Spidey

    Spidey Registered

    Joined:
    Mar 18, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    How to forbid a file?

    I want to forbid a .htaccess file in www folder.
    How can i do that in cPanel?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    What do you mean by forbidding a file?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    168
    If you mean to prevent a client from creating one, just create one that has the owner of root and then they cannot modify or overwrite.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice