in reply to how can I change apache basic auth credentials with perl?

I don't think that's possible - as far as I know, the only thing you can do is send a 401 unauthorized status code and a WWW-Authenticate: header, which will request a user/password. There seems to be no way to change the user's authentication without their involvement.

  • Comment on Re: how can I change apache basic auth credentials with perl?

Replies are listed 'Best First'.
Re^2: how can I change apache basic auth credentials with perl?
by Mr. Muskrat (Canon) on Aug 17, 2006 at 15:56 UTC
    I'm not sure why but back when I used basic auth I could never get that to work fully. The user had to press OK without a username and password filled in and then Cancel the next time the login box popped up.