We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I save a password only for a path of a domain?

more options

I have a domain, which has different password boxes.

For example I have example.com/adminboard and example.com/customuserlogin. So now I want to save a password, which gets filled in example.com/adminboard, but does not get filled into example.com/customuserlogin. How can I do that?

I have Saved Password Editor (https://addons.mozilla.org/de/firefox/addon/saved-password-editor) installed, so I can modify the data. My best try was to change the "Host" value there to "https://example.com/adminboard/" (not the subsequent slash). When I changed it, the favicon (which is different on the two sites) on the left changed from the old one to the new one, so I had hope it would work now, but unfortunately it does not.

Any idea how to do this?

I have a domain, which has different password boxes. For example I have example.com/adminboard and example.com/customuserlogin. So now I want to save a password, which gets filled in example.com/adminboard, but does not get filled into example.com/customuserlogin. How can I do that? I have Saved Password Editor (https://addons.mozilla.org/de/firefox/addon/saved-password-editor) installed, so I can modify the data. My best try was to change the "Host" value there to "https://example.com/adminboard/" (not the subsequent slash). When I changed it, the favicon (which is different on the two sites) on the left changed from the old one to the new one, so I had hope it would work now, but unfortunately it does not. Any idea how to do this?

All Replies (4)

more options

The built-in Password Manager can only deal with web addresses. What you could do is to use a form filling add-on. They can be set up the way you want.

Go to the Mozilla Add-ons Web Page {web link} (There’s a lot of good stuff here) and search for what you want.

more options

A hostname is just the part between https:// and the next / character.

The logins.json file has a field called formSubmitURL but Firefox doesn't store the full path, which would have been a good way to resolve this issue. It's just the hostname of the form submit action (usually but not always the same site).

I think an add-on or third party password manager will be needed for this site.

more options

If you can suggest add-ons this would be good.

With my add-on I can also modify the "submit prefix", which I assume is the formSubmitURL, but when I set this to the one used at http://example.com/adminboard (it is "http://example.com/adminboard"), Firefox does still auto-fill my password into http://example.com/customuserlogin.

more options

People mention a variety of commercial and free programs here, and I don't have a specific recommendation. There are many password managers, some using local storage and some using cloud storage, some with close browser integration, and some that use the clipboard. I haven't tried any recently, although it might be time...

Here's one example: KeePass is FOSS and can run on Linux using the .Net-emulating Mono package. More info, sometimes conflicting: