Results 1 to 5 of 5

Thread: For directory chmod 777 it often stores images

  1. #1
    thesyndicate is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    NET<>DP
    Posts
    138
    Thanks
    14
    Thanked 5 Times in 4 Posts

    Wink For directory chmod 777 it often stores images

    For directory chmod 777 it often stores images, library...
    Create .htaccess file content:

    PHP Code:
    <Files "^.*\.(php|cgi|pl|php3|php4|php5|php6|phtml|shtml|asp)">
    Order allow,deny
    Deny from all
    </Files

    Is this code correct? Is there anything else i can do to protect my /pic folder?

  2. #2
    Hrvoje is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    Croatia
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    htaccess tips

    Hello! You could use some of the tips found on this page Blog | CSSKarma
    so no image can be accessed from the outside - just displayed by your web site.

  3. #3
    thesyndicate is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    NET<>DP
    Posts
    138
    Thanks
    14
    Thanked 5 Times in 4 Posts

  4. #4
    Hol Mohida is offline Unknown Net Builder
    Join Date
    Sep 2009
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    chmod 77 is the worst method to enable to gallery access the files.while we could have PHP generates the albums directory to the owned a Anache.The only way to gain any access to images at all is via gallery.

  5. #5
    thesyndicate is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    NET<>DP
    Posts
    138
    Thanks
    14
    Thanked 5 Times in 4 Posts
    You are promoting yourself as a company or are you giving me advice?

Similar Threads

  1. The good time of stores
    By TinaAmnon in forum General Chat
    Replies: 0
    Last Post: 1 June, 2010, 06:58 AM
  2. Replies: 0
    Last Post: 18 April, 2010, 18:39 PM
  3. ebay stores
    By DickTracy in forum Business
    Replies: 1
    Last Post: 1 January, 2010, 17:22 PM
  4. Replies: 1
    Last Post: 13 December, 2009, 13:19 PM
  5. Microsoft Retail Stores
    By Electron in forum General Chat
    Replies: 0
    Last Post: 4 August, 2009, 19:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •