Security and Cryptography
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationSecurity and Cryptography

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 27th, 2000, 07:44 PM
sharry sharry is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: California, USA
Posts: 12 sharry User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #2  
Old December 28th, 2000, 01:04 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
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".

Reply With Quote
  #3  
Old December 28th, 2000, 11:40 AM
sharry sharry is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: California, USA
Posts: 12 sharry User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #4  
Old December 28th, 2000, 12:25 PM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to 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).

Reply With Quote
  #5  
Old December 28th, 2000, 12:36 PM
sharry sharry is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: California, USA
Posts: 12 sharry User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #6  
Old December 28th, 2000, 04:11 PM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to rod k
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).

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationSecurity and Cryptography > netscape authentication info persists


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT