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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

userid:password in URL security and problem

Status
Not open for further replies.

awingnut

Programmer
Feb 24, 2003
759
US
I'm not sure which is the right forum for this question so my apologies if this is not the right one and my thanks if you can redirect me.

Even though I am using SSL, is the userid:password parameters being passed in the clear? That is:


or are only the parameters passed as arguments are secure. That is:


In any case, if the first is actually secure then is there a way to hide the userid:password so it is not displayed on the browser address line? TIA
 
Try passing the info via cookies or sessions or possibly even forms instead of through the URL.

Hope This Helps!

Ecobb
- I hate computers!
 
First my orignal post was messed up. I forgot to wrap it.

Anyway, I don't know how cookies help. Does not authentication require the userid and password in the URL, if it is going to be used?

For the sake of clarity I'll repost my sample URLs:
Code:
[URL unfurl="true"]https://userid:password@www.mywebsite.com[/URL]
and
Code:
[URL unfurl="true"]https://www.mywebsite.com/?userid=userid&password=password[/URL]
The second method may not be possible due to the nature of the special HTTP server we are trying to use.
 
The web site will require whatever authentication you design it to use. If you program it to use the url, it will look in the url. If you program it to use cookies, it will look for cookies.

Hope This Helps!

Ecobb
- I hate computers!
 
It's not that simple. The server is a pseudo HTTP server. It is actually a database server that provides some built-in web capability. This problem exists because of reasons too complicated to explain but basically it only uses the standard userid/password prompt where it puts up an authentication window on the client side. I believe that means we can only bypass that window by supplying the userid/password, using the "userid:password@ format, in the URL. I am not aware of any setup parameters on the database for type of authentication unless there is some standard HTTP way of specifying it as part of the URL.
 
I was a little side tracked with the last reply and forgot one of my main questions. To repeat:

With 'https' is passing the userid:password in the URL, as part of the host string, secure?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top