LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-12-2007, 01:44 PM   #1
caps_phisto
Member
 
Registered: Sep 2004
Location: NH
Distribution: FC6, FC1-4, RH9, Gentoo 2006.0/1, Slackware 10.1/2,11, Vector SOHO 5.0.1
Posts: 237

Rep: Reputation: 30
Web Browsers and Apache Authentication


I am having an issue with web browsers (any) temporarily remembering username and password combinations for a website I am creating. I am using LDAP to authenticate to an MS AD.

Here is the scenario:

I go to my site. Click a password protected directory and I am prompted with a dialogue box for username/password. I enter the appropriate information and I am let through. I can look around that hole page (and any subsequent page) without having to pass my user/pass ever again.

The next page is a default "Index of" page. I click the "Parent Directory" link or my browser's "Back" button to get back to the main site.

I click a new password protected link (not the same as the one above). Again, I am prompted for password and user name (different set this time) and again I happily comply. Again the next page is a default "Index of" page. Again I click the "Parent Directory" link or my browser's "Back" button to get to the main site. Again I can roam about that directory no problem without user/pass being asked again.

I then click the original password protected directory. I am prompted again for a username/password. However, the "username" portion is already filled in with the correct username. (Not bad ). So I comply with the password. The first some it doesn't work. The second time I am let though. However, if I click any links on any subsequent page that is under that directory I am prompted for my user/pass every time.

If I go to the second password protected directory I am not prompted at all.

This behavior only arises out of Internet Explorer (both 6 and 7), but not FireFox. As much as I would LOVE all my users to switch to Firefox ( ) I am a lone *NIX man in a Windows Shop...

I have also tried using Apache to Authenticate using Kerberos and it only keeps track of one set of credentials. I have also tried using a MySQL integration but it yields the same result as the LDAP above.

Like I said solutions to the issue are as I see them:

Use Firefox :-D
Close and reopen IE

I know that above is probably as clear as mud, but any help/guidance would be apreciated....

The desired result would be have the user prompted for a password everytime they click on a Password protected link, when the go back to the main page have their credentials "forgotten" and have them get re-prompted, and finally once authenticated to a directory they should be allowed to roam about that directory unfettered by user/pass requests.

Thanks for your time.
 
Old 06-14-2007, 03:43 PM   #2
traene
Member
 
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 222

Rep: Reputation: 35
Do you mean a session based web application? When you authenticate against a web app, the browser stores a session cookie.
Every subsequent interaction with the website (every http request, containing this session cookie) allows the user to
browser the password protected things.

With a logout button, you throw away the session cookie, and the session is closed.

(Hope this helps a bit, though)
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What web browsers everyone using? 311Sam General 39 10-06-2006 02:16 PM
apache web page authentication problem jitheshmurali Linux - General 3 04-01-2006 02:51 PM
Jerky mouse when web browsers download web page stodge Linux - Software 1 07-08-2003 10:29 PM
web browsers Cubiq Linux - Networking 9 08-15-2002 02:44 PM
web browsers Diesel16 Linux - Newbie 1 01-29-2002 12:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration