LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-02-2003, 05:00 AM   #1
potlamurali
LQ Newbie
 
Registered: Jan 2003
Location: Hyderabad/India
Distribution: Red Hat
Posts: 10

Rep: Reputation: 0
File or Directory Encryption


HI,

I woul like to know is there any way to protect one file or directory with a password on linux.

any help is greatly appreciated
 
Old 05-02-2003, 05:52 AM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Maybe the Linux Encryption Howto is what you are looking for? If you want to encrypt a file and it's executable you could go for a executable protector ... like UPX ... just google
 
Old 05-02-2003, 08:23 AM   #3
potlamurali
LQ Newbie
 
Registered: Jan 2003
Location: Hyderabad/India
Distribution: Red Hat
Posts: 10

Original Poster
Rep: Reputation: 0
What i am looking is i want a directory and its contents to be proptected from all the users including root.

Is this possible ?
 
Old 05-02-2003, 09:18 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you define "protect" as "hide", then it's possible to do so. Even the root user won't be able to find or handle 'em w/o reboot or other countermeasures. Look into the Grsecurity(.net) kernel patches and read the ACL docs.

*Another way would be to use a Linux Kernel Module (LKM) that does hiding of processes and files. Don't try this on a box you don't own (and even then) as it's obviously one of the most severe compromises of security.
 
Old 05-02-2003, 10:05 PM   #5
tyler_durden
Member
 
Registered: May 2001
Posts: 125

Rep: Reputation: 15
you could use GPG to encrypt the files.
http://www.gnupg.org/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
directory encryption tool xlh3110 Linux - Security 8 12-05-2005 09:42 PM
File encryption and theoretical cracking time Hal Linux - Security 9 11-14-2005 12:15 PM
Linux server directory encryption eBanc_Dave Linux - Security 2 10-10-2003 11:56 AM
file encryption application ksgill Linux - Newbie 4 08-03-2003 10:58 PM
Shared File Encryption mawarsha Linux - Security 6 02-12-2003 01:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration