english 
Thread Options  Search this Thread  
Post: #1
17-12-2006 08:18 AM
stan


Joined: 17-11-2006
Posts: 245
Country: Isla de Muerte
Male stan is Offline now
Directory Browsing
Hi XAM,
just went through your post on security checking.I hv one dout in my mind since quite a few days now.
How to stop users from browsing other directories through browser such as http://tracker/pic/ and all the other directories which can be browsed by the user even without registering or logging in and even with logging in. As it can easly be used to steal style sheet and other scripts which are loacted in tht directory.Almost all tracker allow this kind of directory browsing.Pls guide me hw to avoid this.

THANK YOU!

Post: #2
17-12-2006 08:22 AM
xam
Team Leader


Joined: 01-02-2006
Posts: 11,515
Country: Belgium
Awards:  
Male xam is Offline now
Directory Browsing
There are 2 ways to do:
1) via httpd.conf
CODE:
<Directory />
    Options -Indexes
</Directory>


3) with a .htaccess file
CODE:
Options -Indexes


Post: #3
17-12-2006 08:42 AM
stan


Joined: 17-11-2006
Posts: 245
Country: Isla de Muerte
Male stan is Offline now
Directory Browsing
Originally Posted by xam

There are 2 ways to do:
1) via httpd.conf
CODE:
<Directory />
    Options -Indexes
</Directory>


3) with a .htaccess file
CODE:
Options -Indexes



Thanks man for tht reply xam yo rock, i knew it can be done from httpd.conf but wasnt sure.
THANKS A LOT.

Quick Reply
Decrease Size
Increase Size
Insert bold text Insert italic text Insert underlined text Align text to the left Align text to the centerr Align text to the right Justify text Insert quoted text Code Insert formatted PHP code Insert formatted SQL code
Colors
Insert hyperlink Insert image Insert email address
Smilies
Insert hidden text



Forum Jump: