Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'This works other places too' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
This works other places too
Authored by: lullabud on Nov 14, '05 09:58:17AM
Although there are plenty of ways to authenticate yourself automatically from the terminal, this method stands out particularly because it's part of the standard url scheme. This will work in Safari, Firefox, command line ftp, ssh, etc, for many different protocols. The extent that I know is that the standard is protocol://[user[:password]@]host/resource. So, for instance, you can bring up the "connect to server" window and type smb://user:pass@windowsbox/share/folder/ and it will connect, though I have seen problems with it being finnicky.

This also works in KDE in linux too when you press F2 or use the location field in Konqueror.) This works with AFP, SMB, HTTP, FTP, and I'm sure a great many others, and in Windows in some applications, such as Firefox.

It's worth noting that not all authentication methods support this scheme. Logging into a site like macosxhints.com won't support that scheme because you're not doing an HTTP-layer authentication.

[ Reply to This | # ]