Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-14-2006, 12:15 AM
|
#1
|
Member
Registered: Aug 2005
Distribution: Debian 7
Posts: 526
Rep:
|
Password protecting specific files
I am wondering if there is a convenient way to assign a password to certain files, namely OpenOffice.org documents. Normally, I would just change permissions, but that makes the documents a real bother for me to access: logging in as root and opening from command line. Is there a way to allow for a dialog box to appear asking for a password whenever I open these files or some similar method?
|
|
|
04-14-2006, 12:40 AM
|
#2
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
|
|
|
04-16-2006, 11:31 PM
|
#3
|
Member
Registered: Mar 2006
Distribution: debian sarge
Posts: 222
Rep:
|
oo has a "password protect" feature, but its not very good. backup the stuff to disk and then wash or scrub your harddrive.
operator
|
|
|
04-17-2006, 07:08 AM
|
#4
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
Perhaps some more information might be helpful: - What is the Home vs. Office, LAN vs. stand-alone context we are talking about here?
- What kind of files are you talking about?
- How sensitive are they?
- Who are you trying to protect them from?
- What kind of access do they have to your computer?
|
|
|
04-17-2006, 12:47 PM
|
#5
|
Member
Registered: Sep 2002
Posts: 310
Rep: 
|
You can also check out using dm-crypt to encrypt the partition where the files are to be stored. Personally, I encrypt my /home and store my personal items there.
|
|
|
04-17-2006, 11:30 PM
|
#6
|
Member
Registered: Aug 2005
Distribution: Debian 7
Posts: 526
Original Poster
Rep:
|
Quote:
Originally Posted by archtoad6
Perhaps some more information might be helpful
|
Sorry for not elaborating earlier. It seems silly, but I have had trouble in the past with people breaking into my computer. I will be moving into a shared apartment that will often receive many visitors. This is just for my stand-alone desktop computer. The documents are not highly sensitive, but they are important, and I simply want to keep people from tampering with them. Basically I need a second line of defence if someone happens to watch me type in my regular user password or if I forget to lock the screen before leaving my desk. I think I will stay away from encryption, because I want to be sure that I, myself, won't accidently lose access to the files.
|
|
|
04-18-2006, 05:02 AM
|
#7
|
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
|
More of a social problem than a technical one.
1 of the truisms of computers is "physical access == ownership", I think encryption is the only sure way to keep intruders out. I also understand your reluctance to use it. Besides, what is to prevent someone really malicious from doing an rm -rf /?
How well do you trust your new apartment mates? Will they keep out of your stuff & more important, do they feel any responsibility for policing their guests' behavior?
Can you place the machine w/ your back to the wall?
Can you train them to deliberately & obviously look away or shield their eyes when you enter your password? (Here in Houston at HLUG this proper etiquette at our weekly workshop.)
Will you feel foolish asking people to look away when you enter your password?
You need to learn to NOT leave it unlocked & unattended, just like you lock your doors. Make it a habit. You're no longer living in the cyber equivalent rural America (or wherever), where you can leave your front door open & the keys in your car.
On the technical side:
Will OOo password protection cover enough types of files to suit you? Or do you have plaintext files as well?
Change you password more often.
Activate the locking feature in your screensaver.
...
|
|
|
04-18-2006, 10:13 PM
|
#8
|
Member
Registered: Mar 2006
Distribution: debian sarge
Posts: 222
Rep:
|
there is only 1 security. keep the risky person away!
operator
|
|
|
04-19-2006, 01:55 AM
|
#9
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,639
Rep: 
|
Quote:
Originally Posted by archtoad6
...Activate the locking feature in your screensaver.
|
Definitely so. Use a maximum of 3 minutes to automatic locking (works well here). Furthermore, there is a feature which uses the mouse for instant locking, e.g. when you move the mouse pointer into the upper right corner (or somwhere else). That should be easy enough to get quickly used to.
Another way might be the sleep modus (ACPI) of your computer...
|
|
|
04-20-2006, 04:26 AM
|
#10
|
Member
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227
Rep:
|
how about
# man gpg
|
|
|
All times are GMT -5. The time now is 09:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|