• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Protect a directory?

I know first thing people are going to say is htaccess. I've tried two methods with htaccess, a redirect and completely disabling files.


This also makes this directory unusable by my site. Basically I have a folder of audio clips I'm trying to protect, while still allowing them to play on my website.

Any ideas?

Maybe is a good idea to move this folder behind wwwroot.
In this way, the content of this folder couldn´t be accessed from the browser.

the htaccess example from the userguide should work too


Try this method:

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.