http://new_user:new_password@some.protected.site/
Safari will then switch to the new_user, and it will remember the switch in future visits.
|
|
|
Sometimes I need to test a site that's protected with basic authentication with several different users. Safari, unfortunately, does not have a logout function, to forget about basic authentication credentials. To work around this issue, just insert the login and password of the new account directly in the URL, just after the http://. For example, if your URL is something like http://some.protected.site/, use this:
Safari will then switch to the new_user, and it will remember the switch in future visits.
•
[10,171 views]
Hint Options
Switch between authenticated users in Safari
I guess you aren't that bothered about security seeing as you are using a non SSL site, but it is worth remembering that this url will be remembered on your computer, and someone can look through your history to find your username and password.
Switch between authenticated users in Safari
Which, it this case, may not be an issue. I presume the 'hinter' is doing some sort of site testing, in which case would not have a cause for concern. Though, what you say is still valid - you don't want to be using this method to log into your bank account using the local Library's computer.
Switch between authenticated users in Safari
I think you can use this hint in any browser, not only safari.
Switch between authenticated users in Safari
Or simply use Safari's Private Browsing feature and then quit between users.
Switch between authenticated users in Safari
If you use Private Browsing, you don't have to quit. There is no history kept.
Switch between authenticated users in Safari
You don't have to type the password. You can type:
http://new_user@some.protected.site/ and Safari will prompt you for the password.
Switch between authenticated users in Safari
This, of course, only works on those olde worlde sites that still use HTTP-style authentication, which for me, is probably only my router admin page.
Switch between authenticated users in Safari
Funny that you refer to HTTP Authentication as "olde world". There is a resurgence of leveraging HTTP's built-in features (such as authentication) instead of rebuilding them inside applications. See: REST @ Wikipedia.
Switch between authenticated users in Safari
And if you want to be super sekret, you can use http://:@example.com and you'll get a sheet where you can enter your name and password.
-ch |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.15 seconds |
|