Jump to content

PHP File Security Without .htaccess


musclehead

Recommended Posts

I'm looking for a solution to password-protecting files and/or folders without using .htaccess.

 

I have it setup currently w/ a basic authentication and session model. User "A" logs in and is redirected to the "protected" page w/ session handling to prevent users from getting their directly.

 

However, I have PDF files linked from that protected page which could be easily linked to without logging in.

 

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/128415-php-file-security-without-htaccess/
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.