Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If this should be in a different forum please move it, thanks.
Background (for the question that will follow):
I looked a goodly bit for a free (as in beer) App or Extension that would selectivly save only certain cookies while deleting everything else apon closing my browser (firefox).
I found an App that was supposed to do that but the best I could figure it required action on my part every time I used my browser.I don't remember the name of that App,but I didn't want to have to take action every time I used it anyway.
I gave up looking for an App or Extension, and instead I wrote a script that is working for now, hopefully it will continue to work if all else is OK.
All I am doing at this time is replacing the empty cookie.txt file that is in the .mozilla directory with a cookie.txt file that I have saved in a different location and has the cookie from the TV guide website in it.
The only thing I did to the .sh file is check the "make executable" box on the properties page. It still has both the user and group as "geeyathink".
I made a "link to application" on my desktop, named it "firefox" and pointed it to this .sh file.
That way I don't have to re-enter my location info every time I visit the TV guide site.
My Questions,
Does anyone know of an App or extension that will do what I want without regular interaction from me?
Know of a better way to go about doing this myself?
Does what I am doing cause a security problem?
If so is it in and of itself insecure or can I change some permissions and such to make this safe?
This all got started as I am trying to follow some security and privacy guides for beginners that suggested deleting cookies when the browser closes.
I am trying to learn to better secure my box and don't want to create a security problem just for a little convenience on my part but if I can have the convenience AND it not be a security problem then that would be great.
Thanks for listening to my question. I hope someone has some advice,
If you're referring to this particular scripting part (asserting you're not running the script as root account user) then, no, it's not a security risk (and even if it could be, it would only affect the data in your account and not the box as a whole). The cookie part, as long as it doesn't save any password data, isn't a risk either.
Quote:
Originally Posted by geeyathink
This all got started as I am trying to follow some security and privacy guides for beginners that suggested deleting cookies when the browser closes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.