LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-27-2005, 06:43 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Rep: Reputation: 52
Data protection.


I have important confidential data that I'd like to protect for example in case the computer holding it is stolen.
I've read some info about encryption and I have a vague recollection of reading an encryption example where someone was asked to provide a key at boot time in order to have access to certain data.
I am thinking of something similar where only the encrypted data exist on the computer and is only accessible if the machine was provided with a key at boot time, in other words the key is lost when power is turned off and the data becomes useless to anyone not having the key.

Is this scenario realistic? And if it is could someone explain the steps involved or point to suitable links for someone with only a basic understanding of encryption?

I'd like to automate this process and include these steps in a program. The data involved is forms returned through HTTPS.

Thank you for your help.

Last edited by rblampain; 07-27-2005 at 06:47 AM.
 
Old 07-27-2005, 09:42 AM   #2
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Re: Data protection.

Quote:
Originally posted by rblampain
Is this scenario realistic? And if it is could someone explain the steps involved or point to suitable links for someone with only a basic understanding of encryption?
Yes. Search the forums for encrypting hard drives. There is usually at least two posts per week on the subject, so finding information shouldn't be any problem.

As far as providing the key at boot time, that's up to you. That setup will be more difficult to get up and running and if you ever forget the key, you are totally hosed. The easier solution is to seutp a partition that is encrypted (e.g. /dev/hda6), not the entire drive. Than you can store all sensitive data on that partition. You will have to provide the key in order to mount the device, so you don't lose any security there, and if you lose the key, you aren't hosed.
Quote:
Originally posted by rblampain
I'd like to automate this process and include these steps in a program.
Which process? If you automate mounting of the drive, than you will need to have the key stored in a file somewhere and you lose all security provided by the key. Automating mounting of the drive makes little sense in most cases.
 
Old 07-27-2005, 11:43 PM   #3
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
Thanks TruckStuff. I'll investigate as you suggested.

Will I easily find clarification of you comment (reproduced below) concerning option that allow us to survive the loss of the key and those that don't? The option that would allow survival after the loss of the key seems to defeat our purpose.


<<<You will have to provide the key in order to mount the device, so you don't lose any security there, and if you lose the key, you aren't hosed.>>>
 
Old 07-28-2005, 06:44 PM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Quote:
The option that would allow survival after the loss of the key seems to defeat our purpose.
How so? What, exactly, is your purpose? Confidentiality, Integrity, ... ?

I also think you two are talking about two different kinds of survival.

If you lose the key (in the example where (only) a partition for sensitive data is encrypted), you can't access the data on the partition, but the rest of the system won't be affected.

If you lose the key in the first example (that is, encrypt the *entire* disk), you won't even be able to boot the system (or at least, it wouldn't be terribly useful).

Of course, if your business depends on that data, you're hosed in both cases of losing the key. Conclusion: don't lose the key

hth --Jonas
 
Old 07-29-2005, 12:45 AM   #5
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
The purpose is confidentiality. When I talk about automating the process, I'm talking about the encryption process, not the entering of the key at boot time.

I'm confusing you when I say the key should be lost when power goes off, I should have said that the key should be kept in memory, even if it's a file in a ramdrive, so that disconnecting the power makes the key disappear and render the data useless to anyone who doesn't have the key.

I've started another thread with a different question but on the same topic, it looks like the 2 are converging.

I'm going to search more into LQ answers and the net because I think I may have the wrong basic idea about encryption.

Thank you very much for your help.
 
  


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
Home Office Biotech Data Mining - Data Collection Adler Linux - General 20 11-03-2004 04:17 AM
Burn Data DVD... Read Data in Linux and Windows SaintStrive Linux - Newbie 3 09-18-2004 05:04 PM
Data protection .... phoeniXflame General 4 03-23-2003 07:46 AM
password protection kushal Linux - Security 4 10-10-2002 09:33 PM
need virus protection FLuff_Suit Linux - General 5 05-06-2002 12:08 AM

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

All times are GMT -5. The time now is 10:16 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