views:

62

answers:

2

Can you please tell me how to deny folder browsing using .htaccess file

+9  A: 
Options -Indexes
Delan Azabani
A: 
order allow deny
deny from all
allow from 192.126.12.199
Dezigo
what about 192.126.12.200?
Gordon
Some formatting would be good and some explanation + context. Plus allowing from a specific IP was not part of the OPs question.
sanchothefat
In this case, <192.126.12.200> stands for a specific address.It` for example..
Dezigo