Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

basic authentication password change

 
Khalil Salman
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When using basic authentication, is there any way to change the user's password and make the new password available without restarting the server?
 
Bosun Bello
Ranch Hand
Posts: 1510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The server reads the configuration file on start-up, so the changes will not take effect until it's restarted.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any somewhat serious web app will not get its user data from a file, but from a repository like a DB or LDAP - in which case a password change should take effect right away.

Basic authentication credentials are generally cached by the browser, though, so you need to restart that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic