I just apply an test account from imeme.net. I suddently realize that There is no logout operation available. Rgs, Kent Sin
Sin Hang Kin wrote:
I just apply an test account from imeme.net.
I suddently realize that There is no logout operation available.
If you quit your browser, you are "logged out". If you're using IE, just close all IE windows. Please consider joining the imeme-users list ( http://lists.imeme.net/listinfo/imeme-users ) to ask this kind of question. Thanks, -- ethan mindlace fremen mindlace@imeme.net zope -&- imap email -&- mailing list weave your web with the web at http://imeme.net
Sin Hang Kin wrote:
I just apply an test account from imeme.net.
I suddently realize that There is no logout operation available.
That's ok, you're never 'logged in'. HTTP is stateless. There is no state, you are not logged in or logged out, you login and logout everytime you make a request. This is the nature of HTTP. HTTP Basic authentication is simple, you make a request, and the server says 'Unauthorized'. So the browser asks you the user for a username and password. Now you make a reqeust and hand the server your credentials, a this point it say 'Ok' or 'Unauthorized'. If it says 'Ok', then your _broswer_ caches your credentials and gives them to the server _for every request you make_. The server never maintains a list of who is 'logged in'. HTTP Basic auth esentially does not let you logout. You have two choices, 1) quite your browser, or 2) <dtml-raise Unauthorized></dtml-raise>. The second one, raising Unauthorized, will cause your browser to prompt your for login credentials. To logout, hit 'cancel'. Keep in mind that none of this has anything to do with Zope, but rather HTTP Basic authentication. They call it 'Basic' for a reason, it's simple and not flexible and the HTTP designers probably expected much more sophisticated techniques to be developed in its place. Several much more secure and intelligent techniques have been developed, but the authors of browser software don't give a damn or want to foist proprietary protocols on the user. -Michel
Michel Pelletier wrote:
HTTP Basic auth esentially does not let you logout. You have two choices, 1) quite your browser, or 2) <dtml-raise Unauthorized></dtml-raise>. The second one, raising Unauthorized, will cause your browser to prompt your for login credentials. To logout, hit 'cancel'.
Keep in mind that none of this has anything to do with Zope, but rather HTTP Basic authentication. They call it 'Basic' for a reason, it's simple and not flexible and the HTTP designers probably expected much more sophisticated techniques to be developed in its place. Several much more secure and intelligent techniques have been developed, but the authors of browser software don't give a damn or want to foist proprietary protocols on the user.
Michel, While I was aware of HTTP basic auth's limitations, and the <dtml-raise Unauthorized> fix, this was the first time I'd heard of any proposed extensions/replacements. can you point to any projects/proposals in this regard? If support for an improvment could be folded into Apache, Zserver, and Mozilla, that might put enough pressure on other companies to support it too. Michael Bernstein.
Michael Bernstein wrote:
While I was aware of HTTP basic auth's limitations, and the <dtml-raise Unauthorized> fix, this was the first time I'd heard of any proposed extensions/replacements. can you point to any projects/proposals in this regard?
The method you're looking for is Digest authentication, RFC 2069: http://andrew2.andrew.cmu.edu/rfc/rfc2069.html
If support for an improvment could be folded into Apache, Zserver, and Mozilla, that might put enough pressure on other companies to support it too.
Yes. As three open source projects, they would be prime candidates for extending authentication. Particularly considering that Mozilla is going to be the "next generation" of zope IDE, it makes perfect sense to bring it to Mozilla. It's my understanding that Digest authentication would allow you to use kerberos for authorizing web clients, just like any other service. I could be wrong on that one. -- ethan mindlace fremen mindlace@imeme.net zope -&- imap email -&- mailing list weave your web with the web at http://imeme.net
participants (5)
-
Michael Bernstein -
Michel Pelletier -
mindlace -
Morten W. Petersen -
Sin Hang Kin