CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Apache configuration (http://www.codingforums.com/forumdisplay.php?f=69)
-   -   htaccess login page (http://www.codingforums.com/showthread.php?t=4240)

GurusGuru 08-16-2002 08:51 PM

htaccess login page
 
Instead of the gray screen popping up asking for username and password while trying to access htaccess protected directory, is it possible to have a custom html page popping up. I do have a login script for a html page, but if one submits wrong username or password the gray screen again pops up. How to completely get rid of the gray pop up screen.

GurusGuru 08-22-2002 07:13 PM

No reply yet. Can anyone just tell whether it is possible or not.

Feyd 08-23-2002 08:55 PM

Not really any way reliably to do it. Though you could use a server-side script to process a login form of their user/pass that then adds the user/pass into a URL redirect to the proper location (http://user:pass@url). Though this is extremely insecure, leaves the user/pass mix in the history/cache for misuse and various other bad things...it basically negates authentication (though using a hidden function to simulate a login form does negate some of the bad vibes all around, but not enough to be called 'secure').

In theory you could also hadd the authentication into headers with a similar method, but I've never tried it so I'm not saying 100% one way or the other :)


All times are GMT +1. The time now is 07:25 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.