Protecting some Firefox cookies in Xubuntu?

Forums: 

Is there a way to protect cookies in Linux as it is possible to do in Windows via CCleaner? if I set some the cookie files to read only would this prevent their loss? Other wise my current option is to keep hundreds of unwanted cookies that track me, and if I delete them all, I end up loosing some important login info.

(I only clean Firefox as a user, even though it appears on both the user and admin versions)

No, it is not possible in BleachBit version 1.4. Firefox and Google Chrome store all cookies in a single file.

One option is using the domain-specific cookie settings: by default, disable cookies. Then in Firefox on Ubuntu override cookie settings for the current web site's domain by clicking Tools - Page Info and then clicking on the permissions tab.

Also, there may be some browser add-ons that help.

Managing cookies in BleachBit is a good idea. It is surprising that you are the first person to bring it up. :) I would like to add this feature one day, but it will not happen soon.

Andrew

---
Andrew, lead developer

ineuw's picture

Thanks for the speedy reply. Perhaps, the selected cookies can be placed in a read only folder and the restored after cleaning? - It's just a thought for the future.

Windows 10 Pro 64bit, and Linux Mint 19.1 64bit

In Firefox all the cookies are in one file (a cookie jar), so they can only be moved together as one file. In Firefox it is a matter of writing special SQL commands to selectively delete cookies from the cookes.sqlite database file. This also involves writing a user interface and other code to query and select the cookies.

Basically, this is a matter of time and effort rather than a pure technical problem, and there are a lot of priorities.

Feel free to record this on the bug tracker https://bugs.launchpad.net/bleachbit/

If you are handy with SQL, you can write your own command line script (using SQLite without BleachBit)

---
Andrew, lead developer

ineuw's picture

Yes, I understand. Better if you deal with other priorities. I will check out the add-ons and test them. If that's not suitable I will try to copy the cookies to be protected into the exceptions list and configure Firefox privacy options to use custom settings. In any case I will post here the best options for FF. - Thanks again

Windows 10 Pro 64bit, and Linux Mint 19.1 64bit

ineuw's picture

P.S. Yest I know SQL and prefer not to go down that road. :-)

Windows 10 Pro 64bit, and Linux Mint 19.1 64bit