Update saved password for basic authentication using a script
- by Kalamane
I have a website that uses basic authentication as described on this webpage.
Each of the computers I manage have the password saved in their browser.
There is only one username and password for this. After someone logs in to the site this way, they are presented with their individual username and password prompt as part of the web page. The purpose of the initial username/password is to discourage non-technical employees that aren't supposed to be using the page from even viewing it.
So far, when we've had to change this password, I've manually gone to each computer and updated the saved password.
I'm writing a startup script to configure other aspects of these systems so that I can maintain them easier. I'd like to be able to update the saved password via this script.
The operating system running on these machines is Windows XP SP3 and the browsers they're using to access this site are IE8 and IE9.
How can I update the saved basic authentication information for a website via a script?