Jump to content

Blocking access to file types


dazhall

Recommended Posts

Hi,

 

I want to block anyone from accessing any jpg's or mov's etc without first having logged in to the site. At the moment all my php files have a session check included, is it possible to route all access to certain file types via a php file? Or is there a better way (other than password protecting the directory). Thanks.

 

Darren.

Link to comment
https://forums.phpfreaks.com/topic/41593-blocking-access-to-file-types/
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.