Re: [Zope] Has anyone tried authentication accross multiple servers?
At 11:29 AM 4/8/99 +1000, Jay, Dylan wrote:
I need this for a website I'm setting up so that users can download from several different locations around the world. I don't want users to have to type in their password twice. I presume there is no way to do this via basic authentication which leaves cookies. Has anyone tried this?
I'm in the midst of figuring out how to do authentication with cookies. The only way I can see to get ZPublisher to work intelligently with cookies is to hack the "unauthorized" method of the ModulePublisher class so that a login page can be called. One caveat for your project: cookies will only work across servers if the servers share a common domain, e.g.: foo.bar.com and baz.bar.com.
"Phillip J. Eby" wrote:
At 11:29 AM 4/8/99 +1000, Jay, Dylan wrote:
I need this for a website I'm setting up so that users can download from several different locations around the world. I don't want users to have to type in their password twice. I presume there is no way to do this via basic authentication which leaves cookies. Has anyone tried this?
I'm in the midst of figuring out how to do authentication with cookies. The only way I can see to get ZPublisher to work intelligently with cookies is to hack the "unauthorized" method of the ModulePublisher class so that a login page can be called.
One caveat for your project: cookies will only work across servers if the servers share a common domain, e.g.: foo.bar.com and baz.bar.com.
Just to remember: you have to set the 'domain' atribbute in the cookies as "bar.com". [] -- Paulo Eduardo Neves PUC-Rio de Janeiro Pager: Central: 292-4499 cod. 213 99 64 ou use a URL: http://www.learn.fplf.org.br/neves/mensagempager.html
participants (2)
-
Paulo Eduardo Neves -
Phillip J. Eby