Jump to content

Htaccess, limiting access to certain file types/folders


ts2000abc

Recommended Posts

I have one folder that includes .zip files (mydomain.com/downloads/). I want to limit access to these files (users should register first and get the download link afterwards).

 

Basically users should not be able to request these files straight (like typing /downloads/file.zip to their browsers) Users should be only able to access these files through one download file (mydomain.com/download.php?variable=something).

 

So is there a way to hide/deny access to these files before registration/sign up?

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.