LinuxQuestions.org
Review your favorite Linux distribution.
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 02-23-2012, 08:05 AM   #1
rajeev.dhiman
LQ Newbie
 
Registered: Mar 2010
Location: Delhi
Posts: 3

Rep: Reputation: 0
Securing Files even if they are moved on another machine


Hello Everyone,

I have a situation where I need to protect the files on linux/Centos in such a way that If the files are moved/copied onto another machine those would not be usable (empty/crashed etc). Also, these files are realtime in use and data keeps expanding.

any suggestions would be really appreciable.

thank you.
Raj
 
Old 02-23-2012, 09:22 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by rajeev.dhiman View Post
Hello Everyone,

I have a situation where I need to protect the files on linux/Centos in such a way that If the files are moved/copied onto another machine those would not be usable (empty/crashed etc). Also, these files are realtime in use and data keeps expanding.

any suggestions would be really appreciable.
Sorry, there is nothing that's going to work for what you're describing, for ANY operating system. If you can read the file, that means you can copy it. The only thing you can do is secure the remote workstations, disable USB/optical devices, and screen your outgoing emails/web access.
 
Old 02-23-2012, 06:24 PM   #3
raymor
Member
 
Registered: Nov 2005
Posts: 59

Rep: Reputation: 20
Quote:
Originally Posted by rajeev.dhiman View Post
Hello Everyone,

I have a situation where I need to protect the files on linux/Centos in such a way that If the files are moved/copied onto another machine those would not be usable
"The files". All of the files, or a specific file? For ALL of the files, I suppose you could use Windows file formats, since they are mostly unusable to one degree or another.


If a specific data file, that's the classic encryption problem, with classic solutions. You want the intended recipient to be able to decipher the file, but have the file be "junk" to anyone else. Note that's what DRM was all about and that was a $300 million dollar failure, so it's easy to get it wrong. If one person / program can use it but others can't, that means the intended user program needs a decryption key that others can't get. That probably means a human typing in a passphrase when the software starts up. You can instead store the decryption key / passphrase somewhere, but where are you going to put it that the bad guy can't read it? You'll probably need to store it in a brain and have a human type it in if you really want to keep it secure.

Once you accept that fact, the question reduces to "how to I encrypt and decrypt data"? That's a question with many good answers depending on the specifics - how much data, how secure does it need to be, etc. There are many books and web pages comparing different encryption and decryption algorithms for different purposes.. The one thing I'll say about that is don't invent your own. Linux Torvalds uses standard encryption rather than trying to come up with his own. Unless you're much smarter than him, follow his lead and do the same.

Note that an attacker with root access to the system could in theory read the contents of RAM, so the software may want to decrypt it only as needed rather than decrypting it all on startup and generally try to have as little decrypted as possible for the shortest possible time. Further discussion on that topic is probably best left for another thread.
 
1 members found this post helpful.
Old 02-29-2012, 04:57 AM   #4
rajeev.dhiman
LQ Newbie
 
Registered: Mar 2010
Location: Delhi
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up

thank you very much for the replies I have the understanding of it now.
 
  


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
Reaching out - need your help securing my machine! TheNizz Linux - Security 14 09-18-2011 09:00 AM
[SOLVED] Enigmail - Problem with key pair moved from another machine taylorkh Linux - Software 1 06-25-2010 02:06 PM
iptables script moved machine, stopped working dwynter Linux - Networking 12 02-05-2008 08:44 AM
Securing machine that needs telnet and ftp keysorsoze Linux - Security 5 05-04-2006 06:31 PM
XConfigurator - HDD moved to different machine AP70 Linux - Software 7 03-23-2002 02:53 AM

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

All times are GMT -5. The time now is 09:59 PM.

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