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!

passing username/password as parameters

Status
Not open for further replies.

Toe

Programmer
Oct 26, 2001
71
GB
is there any way of calling a page and passign the apache login username/password.

what I am trying to do here is call one system from another - where the second system is called by opening a browser and passing a URL .

The page called is subject to apache security and asks the user to log in.

but the first system knows the username and password to log on as and I would like to avoid the log in process
 
Hi

I think you write about HTTP authentication. In that case :
Code:
[URL unfurl="true"]http://username:password@www.example.com/login.php[/URL]

This used to work years ago but you will have problems with it now. A lot of the phishing sites were sending users to URLs such as the following so some browsers will block this type of URL now:

Code:
paypal.com/blah/blah/blah:blah@otherdomain.com

If you make the URL long enough, it looks legimimate but it is actually going to another site.

Hope this helps

Wullie

Fresh Look - Quality Coldfusion/Windows Hosting

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top