Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing username and password in URL

Status
Not open for further replies.
Nov 15, 2001
33
US
Is there a way in IIS 5.0 or 6.0to enter a username and password in the website URL without being prompted for a username and password?

Example
When I connect to mysite.com it prompts me for a password and this is what I want it to do. I would also like to be able to add the password and username into the url and not be prompted. Like you can do in FTP. I realize this is not secure.
 
I tryed your example and it still does not work. What else needs to be set for this to work, I have basic authentication enabled.

//<user>:<password>@<host>:<port>/<url-path>
 
Strange. My site uses it with NTLM and it works flawlessly.

I tried it given your way and it works fine..
 
IE always says &quot;invalid syntax error&quot;



Username = test
password = test
= URL

Can't figure out what I am doing wrong?
Tryed this on two different IIS 5.0 servers

One is locked down tight so there may be an issue there but one I just built with no security on it.

Any one have any ansers for me?
 
Question. Have you installe the latest security patch for IE that was released a couple of days ago. If so that may be your problem, because it addresses the issue about the ability to put in your userid and password within the url as a security risk.
 
Chris77504,

Thank you very much you were right on! I tryed IE on a computer that does not have the latest update and it works great, thanks.

 
Ok...I was both happy and upset to find this thread. It seems you folks have identified my problem, but unfortunately I don't have the option of using an older/non-patched browser since this is an application for my clients.

Are there settings someplace to allow this to be turned back on? The application is VB 6.0 and uses the Microsoft Internet Controls object to access a browser inside my DLL. This means I CANNOT be prompted.

Thanks.

--Fizz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top