Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Creating a protected area of website

by arthas (Hermit)
on Jun 03, 2003 at 23:18 UTC ( #262833=note: print w/replies, xml ) Need Help??


in reply to Creating a protected area of website

.htaccess authentication doesn't use cookies: the browser sends the password to the client againa t every page request in the protected directory or subdirectory of that. Usually, the user only has to enter the password one, and that's the behavior I notice on my web server with all the browsers I use (Mozilla, and rarely MSIE but it works).

Maybe it's a particular problem of your browser, or you need to tweak your server's configuration.

Michele.

  • Comment on Re: Creating a protected area of website

Replies are listed 'Best First'.
Re: Re: Creating a protected area of website
by belize (Deacon) on Jun 04, 2003 at 00:17 UTC
    In theory then, if I use htaccess in the root directory, the user should only have to login one time and then be able to browse about the website without having to enter the password again? Not happening though I have used MSIE and Mozilla on PC's and Macs.

    Is this the typical way to password protect an entire website? If so, is there some configuration that would produce this kind behavior?

      The password is entered every single time. Its just that your browser remembers the password after the first time you type it in successfully and enters it automatically. For more information than you really want on how authentication works, go read RFC 2617.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://262833]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2022-01-26 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (70 votes). Check out past polls.

    Notices?