Skip to content.

plope

Personal tools
You are here: Home » Members » chrism's Home » Safari 3 Fails to Send Basic Auth Credentials
 
 

Safari 3 Fails to Send Basic Auth Credentials

Safari 3 fails to send basic auth credentials every so often?

I always log in to my development Zope instance using basic auth (e.g. http://localhost:8080/manage). But often the sites I work on have their own authentication credential checking routines (via cookies, usually) when I traverse into a subfolder (eg a CMF site). Historically this has been OK, because the cookie challenges never make it to me while I'm logged in as a management user because my basic auth credentials are sent to the server on each request. But Safari 3 actually either dumps its knowledge about basic auth credentials every so often, or just fails to send them to the server on subsequent requests (after say, 5 minutes of inactivity). What happens to me after Safari fails to send the credentials along on subsequent requests to my development system is that the cookie login stuff kicks in as the challenge because I'm usually traversing to a part of the site where the challenge code is no longer something that asks for basic auth credentials. And often I can't log in as the management user, because this challenge only checks user data in this part of the site. This is minor pain in the ass, so I'm using Firefox more these days (it doesn't seem to have this behavior). I was just wondering if anyone else had noticed this. Safari 2 didn't do this. I suppose this behavior is not a spec violation, but it does violate the rule of least surprise for dubious benefit ("security?")

Created by chrism
Last modified 2008-02-16 03:46 PM

I haven't seen this

I have been using Safari since the first betas of what would become Safari 3 came out, and I have never seen this — to my knowledge, at least. I use Safari as my main browser, and I do quite a lot of Zope and Plone work. ;)

Only with Zope?

I have only experienced this with Zope. I've been working primarily with 2.7.x for a while now, so I pretty much just blamed Zope and started using Camino or FIrefox when I need to work in the ZMI.

a confirmation...

Florian Schulze confirmed it was happening to him too... and likely the reason you see it in Zope is because Zope allows you to mix different authentication schemes (basic auth vs. cookies) based on what URL you're accessing. God only knows why Limi doesn't see it. ;-) Maybe it's because Plone replaces the root user folder? (which reminds me, dammit, I should have written that as a weakness on the PSPS board... ;-) )