cgm225 Posted June 18, 2007 Share Posted June 18, 2007 I have a script that displays photos, and when it is a album I want to protect, I add login authentication to the script using PHP. However, this does not prevent someone from manually trying to type the URL of an image file into the address bar and seeing it that way.. so I also have an htaccess file in the photo directory. However, this solution then requires a person to login twice. Do any of you have a good solution for this problem that eliminates the double login? Thank you all in advance! Quote Link to comment https://forums.phpfreaks.com/topic/56088-double-authentication-with-php-script-and-htaccess-how-to-unify/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.