EntAppDevTeam
asked on
Access network credentials using javascript
Is there anyway to access network credentials with javascript without having to manually set them? This is needed in order to pass the credentials dynamically to a webservice. The webservice is setup for windows authentication and the browser is IE8.
mplungjan, just for curiosity: how would a local stored .hta file be loaded/used by a page send from anywhere without violating the SOP?
(sorry for the silly question, as I'm no IE and M$ guru ;-)
(sorry for the silly question, as I'm no IE and M$ guru ;-)
You will need to "save/open" it from the web or copy it to your intranet users if that is what you need.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This won't work. At best, the user will be prompted to allow on every page load. Check it out http://forums.asp.net/t/1124769.aspx
question answered, isn't it?
hmm, mplungjan helped answering too, IMHO ...
I believe I did.
What you are trying to do is a security risk, hence it only works on the lowest security level - that is when the user started the HTA him/herself
this cannot be done from a web page from a web server
What you are trying to do is a security risk, hence it only works on the lowest security level - that is when the user started the HTA him/herself
this cannot be done from a web page from a web server
@all: I fully agree with mplungjan's comments and helped to point out the limits
sorry for beining a bit short in my comments, but mplungjan got them all:)
sorry for beining a bit short in my comments, but mplungjan got them all:)
http://www.ureader.com/msg/16721933.aspx
Open in new window
However your HTML has to be saved with extension .hta and has to be loaded from hard disk