Embedding passwords in URLs

Embedding passwords in URLs
Embedding passwords in URLs

This is more for me to remember it, as I’m guessing everyone else knows about this already. If you have a web or FTP site that you need to link someone to, but that site requires a user name and password, you can embed that information in the url as such:

http://userid:password@www.anywhere.com/
ftp://userid:password@ftp.anywhere.com/