View Single Post
Old 02-26-2008, 09:59 PM   #3 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

I do a similar things to protect my PHP library / includes folder. I have a .htaccess file in each folder I want protected with:

Code:
deny from all
In it. If a user tries directly access any file in that folder, they get a 403 Forbidden error.

Alan
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote