Menu
Hi – just wondering if someone can explain a good way of doing this…
I have a folder of pdfs that I’d like to password protect. Obviously I could use .htaccess for this, but I’d like an growing number of passwords taken from a MySQL table to be used to access this folder. I’m wondering about developing a script for when a user registers, which adds a line into the .htaccess file that adds their password.
Is this be the best way of doing it, or are there far simpler ways of dynamically protecting a folder?
Thanks muchly for any help ?
Nick