I am making a chrome extension that requires retrieving an XML file from a secure server.
I am currently using XMLHttpRequest () to make a call to the server
https://username:password@mydomain.com
which returns an xml object that I can parse and display. I want this extension to be available not only for my hobby, so he needs a settings page to configure and save his username and password.
How to store user password in chrome so that it is safe? chrome has a localStorage global for each extension, which allows extension authors to store data, but is stored in plain text. it does not allow extensions to access the store "remember my password" (for good reason).
and is there a safer way to do http auth? My current way of doing things requires passing the username / password in plain text in the URL every time the function is called, even if the authentication session has not expired.
Charles Ma
source share