Jump to content

Block files


Tsukiyomi

Recommended Posts

I'm trying to block access to files unless they go through a php file that forces the download.  So I tried setting the .htaccess file like this

 

<Files *> 

    Order deny,allow 

    Deny from all 

</Files>

 

And It doesn't seem to be stopping me from typing in the address in my address bar and downloading the file.  Am I doing something wrong?

Link to comment
https://forums.phpfreaks.com/topic/107870-block-files/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.