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/

  1. Thanks so much for this help. I’m a librarian trying to give
    students access to journals. We’ve legitimately subscribed, but
    publishers’ won’t allow IP access and if I can do this I can
    allow students to login to my campus system and access journals
    their library subscribes to for the first time for some hard-to-get
    titles. I really appreciate the example here.

Comments are closed.