The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> Security and Cryptography
|
netscape authentication info persists
Discuss netscape authentication info persists in the Security and Cryptography forum on Dev Shed. netscape authentication info persists Security and Cryptography forum discussing issues related to coding, server applications, network protection, data protection, firewalls, ciphers and the like.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

December 27th, 2000, 07:44 PM
|
|
Junior Member
|
|
Join Date: Dec 2000
Location: California, USA
Posts: 12
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Does anyone know why, under the following conditions, netscape stores authentication info:
1. navigator and messenger are both open
2. I authenticate to a directory structure on the web server with .htaccess
3. I close all navigator windows, but leave the messenger window open
4. I start up navigator again and go to the same directory that's protected with .htaccess then....
5. Netscape lets me in without challenging me for my username and password again.
Why?? Can it be fixed?? Using Communicator 4.75 on Win95 workstation, Linux/Apache server.
Appreciate any insight,
Sharry
|

December 28th, 2000, 01:04 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Because messenger is part of Netscape. It's launched with netscape.exe -mail.
If you press Ctrl+Alt+Del while messenger is running, you would eventually see "netscape".
|

December 28th, 2000, 11:40 AM
|
|
Junior Member
|
|
Join Date: Dec 2000
Location: California, USA
Posts: 12
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by freebsd:
Because messenger is part of Netscape. It's launched with netscape.exe -mail.
If you press Ctrl+Alt+Del while messenger is running, you would eventually see "netscape".[/quote]
Thanks for your reply. Yes, I know messenger is part of communicator, but that seems like odd behavior, that if you close your browser windows and restart them that you are still logged in to a directory which is supposed to be secure. Do you know of any way to correct this problem, or any kind of workaround that can be done without having to force the user to log in at every visit to the directory?
Again, appreciate your response,
Sharry
|

December 28th, 2000, 12:25 PM
|
|
Apprentice Deity
|
|
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237

Time spent in forums: 4 m 8 sec
Reputation Power: 17
|
|
|
No, it's not weird behavior. Perhaps you don't understand how basic authentication works. Each request to a protected directory file requires a valid username/password. If your page includes 10 images that are in the protected directory as well as the page itself, there would be 11 challenges made.
Now, when you are prompted for a username/password on a protected directory, your browser remembers what you typed in and will pass this with each request made to that directory (so you wouldn't have to type it in on each page and/or image, etc).
This data is kept in a cache until (usually) ALL instances of the browser are closed. NS Messenger IS an instance of Netscape so the cache stays open and is available when you return to that directory.
That's why. There is nothing "to fix."
If you don't like this behavior you'll have to use some sort of server side scripting using a session id that is passed via GET or POST (not a cookie as cookies will behave the same).
|

December 28th, 2000, 12:36 PM
|
|
Junior Member
|
|
Join Date: Dec 2000
Location: California, USA
Posts: 12
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by rod k:
No, it's not weird behavior. Perhaps you don't understand how basic authentication works. Each request to a protected directory file requires a valid username/password. If your page includes 10 images that are in the protected directory as well as the page itself, there would be 11 challenges made.
Now, when you are prompted for a username/password on a protected directory, your browser remembers what you typed in and will pass this with each request made to that directory (so you wouldn't have to type it in on each page and/or image, etc).
This data is kept in a cache until (usually) ALL instances of the browser are closed. NS Messenger IS an instance of Netscape so the cache stays open and is available when you return to that directory.
That's why. There is nothing "to fix."
If you don't like this behavior you'll have to use some sort of server side scripting using a session id that is passed via GET or POST (not a cookie as cookies will behave the same).[/quote]
OK, now I understand a little more. Thanks for explaining it to me! I was afraid that the only fix was going to be server side scripting... Oh well. Unless.... Is there a way to clear this "cache" you mentioned where the login info is stored? I could try and do a JS function in onUnload to clear it out, if there's a way to access it.
I guess I saw this as needing a "fix" because IE doesn't behave this way, and plus it seems strange that the browser cache has anything to do with the mail app being open ("browser" to me means just that - web browser - not email).
Thanks again for your help,
Sharry
|

December 28th, 2000, 04:11 PM
|
|
Apprentice Deity
|
|
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237

Time spent in forums: 4 m 8 sec
Reputation Power: 17
|
|
|
Not that I'm aware of, but then again I'm not a JS guru.
Netscrape decided to make it the way they did. Microsloth took a different approach (i.e. IE and Outlook* are not integrated as tightly).
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|