Millhorn
Millhorn

Reputation: 3176

Adding a username/password to a URL

I have a web address that I'm trying to add functionality for username/password to be included.

This is not a super secure website, but it is on an 'https' because other than the one username/password that's used by everybody in the organization, it's very secure to the outside world. It's an online school website portal login.

I've tried this...

Username:[email protected]/portal/server.pt

and this...

https://xxx.university.edu/portal/server.pt?userName=SomeUser&password=somePassword

(Thanks Ali B)

...but that doesn't work. My understanding is that MS fixed a bug that allowed this to happen after IE6.

Any chance of a workaround out there?

Reason is that after so many people try to log into it, it locks out anybody trying to attempt a login, and when the whole organization can't log in, that's a problem.

Thoughts?

Edit: It should be known that this address will be accessed on IE8 only. It's our corporate browser.

Upvotes: 1

Views: 30952

Answers (2)

Steve Schrab
Steve Schrab

Reputation: 395

Microsoft officially stopped supporting username/password combos in URLs. IE 6 was the last IE to support this function.

http://support.microsoft.com/default.aspx?scid=kb;[LN];834489

Upvotes: 1

user726561
user726561

Reputation:

I am wondering why you wouldn't use query parameters, such as https://xxx.university.edu/portal/server.pt?userName=SomeUser&password=somePassword ? Most web frameworks have a reasonable mechanism for extracting query parameters from the request.

Upvotes: 0

Related Questions