The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

.htaccess directory protection

Discussion in 'Security' started by Xpert-Servers, Mar 4, 2014.

  1. Xpert-Servers

    Xpert-Servers Member

    Joined:
    Oct 12, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hey,

    Can anyone tell me what I would need to put into a .htaccess file to allow only scripts on the domain to access the folder?
    It's an images folder that I only want the script on the site to be able to load images from.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page