Specify Username and Password in URL

Tue, Jun 30, 2009

Tech Tips

Here is the format to specify a username and password in a URL or ftp address:

ftp://username:password@mysite.com/

or just the username:

ftp://username@mysite.com/

It is not very secure to place the username and password in the URL however if you need to do testing or troubleshooting, it can come in handy. Most web browsers today do not allow this format when using the HTTP (or HTTPS) protocol (like a website). So specifying the user name and password in the URL is really only good for ftp sites or web services.

Bookmark and Share

Comments are closed.