So I'm looking to password protect my directories and/or file using a .htaccess file. What I'm curious to know is if there's a way to access these files through code without displaying the annoying popup box. My main code is PHP.
Essentially I have files that can be downloaded that shouldn't be accessed by anyone not logged. I plan to password protect them but I'd like the login username/password to all be done invisibly so that if they are logged in it will begin the download, and if they're not it will display another page.
Any help or tips would be great! Thanks 
|