Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible to create a Firefox shortcut with username and password stored inside? Even if the cookies got cleared the username and password should remain.

share|improve this question
    
If possible, that would have been a way to bypass the username and password validation. I hope it's not. –  mikewhatever Jul 10 '11 at 7:33
    
@mikewhatever This wouldn't bypass authentication. It would automatically perform it. –  Eliah Kagan Oct 6 '12 at 12:37

2 Answers 2

up vote 4 down vote accepted

WARNING: this method is insecure since bookmarks are not encrypted, which means anyone with access to your machine could login with your credentials if you save bookmarks this way.

Most web browsers support the following syntax:

protocol://username:password@www.example.com/direcory

For example,

http://bob:123456@www.example.com/secrets

Using this syntax will work in a Firefox bookmark (though FF will warn you when you click it)

Note that this only works for websites that use HTTP password authentication (.htpasswd files in Apache). This won't work, for example, on Facebook.

share|improve this answer
    
This is insecure, since bookmarks are unencrypted. –  lovinglinux Jul 11 '11 at 6:13
    
@lovinglinux No argument from me there! –  Andrew Lambert Jul 11 '11 at 11:42

Get Secure Login extension. It allows to store bookmarks with login data (you need to enable that option in the extension preferences). It is secure, because it doesn't store the password or the user in the bookmark url, but just the reference to the Secure Login data, which is retrieved from the password manager and thus can be protected with a Master Password, which is highly recommended btw.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.