LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2012, 03:37 AM   #1
steampunk
LQ Newbie
 
Registered: Jan 2012
Posts: 11

Rep: Reputation: Disabled
Partition Proxy: System Wide File Read/Write Redirection


I need to alter all data that any process tries to write to a specific partition. I also need to alter all data in a file that any process reads from said partition before it gets to the requesting process.

Is there a way to apply this based upon just one user account?

Is there a way to apply it system wide?

Is this possible through simple piping or other command line utilities?
 
Old 01-24-2012, 11:03 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by steampunk View Post
I need to alter all data that any process tries to write to a specific partition. I also need to alter all data in a file that any process reads from said partition before it gets to the requesting process.
Interesting. What would be even more interesting would be to know what the exact problem is you are trying to solve. Examples? The more details the better. What application this is about? Are you trying to modify data in flight?


Quote:
Originally Posted by steampunk View Post
Is this possible through simple piping or other command line utilities?
Probably not. I doubt a ready-made solution exists, the first thing I'd try is look for something based on FUSE in http://sourceforge.net/apps/mediawik...le=FileSystems (say fsfipi?) and modify that.
 
Old 01-24-2012, 11:14 AM   #3
steampunk
LQ Newbie
 
Registered: Jan 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Interesting. What would be even more interesting would be to know what the exact problem is you are trying to solve. Examples? The more details the better. What application this is about? Are you trying to modify data in flight?



Probably not. I doubt a ready-made solution exists, the first thing I'd try is look for something based on FUSE in http://sourceforge.net/apps/mediawik...le=FileSystems (say fsfipi?) and modify that.
To put in a nutshell, I'm remastering a custom live distro with software for a security environment. The software is to run in ram, but when documents are saved, they must be piped to a AES encryption script, then written to disk. When reads occur, the reverse is done. I'd like the filesystem writes and reads to be interrupted at a low level so the programs don't need to be be concerned that this script even exists.
 
Old 01-24-2012, 12:11 PM   #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
Quote:
Originally Posted by steampunk View Post
when documents are saved, they must be piped to a AES encryption script, then written to disk. When reads occur, the reverse is done.
Thanks for clarifying. So how do you envision encryption works? I mean if you allow the user to set the encryption key you could use PAM, FUSE, EncFS, pam_encfs and be done with it using OTS components?
 
Old 01-24-2012, 04:29 PM   #5
steampunk
LQ Newbie
 
Registered: Jan 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Looks like encfs is a good way to go. It has a couple of graphical front ends, CyrptKeeper and TrueCrypt. I think I like TrueCrypt better because you can use a whole bunch of keys and I think you add salt by moving the mouse, whereas cryptKeeper is just a password.

They aren't too user friendly, but they'll work. I was hoping for something that less geeky types could use without too much puzzling through the interface and wizard.
 
Old 01-24-2012, 05:19 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by steampunk View Post
Looks like encfs is a good way to go.
Then please mark this thread solved.


Quote:
Originally Posted by steampunk View Post
It has a couple of graphical front ends, CyrptKeeper and TrueCrypt.
No. CryptKeeper is a GNOME GUI for EncFS. TrueCrypt is a different product altogether.
 
  


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
Read and Write a JFFS2 file system from WIndows PC xenorealm Linux - General 2 12-15-2010 06:39 PM
Read Write for NTFS file system geeedeee Linux - Laptop and Netbook 8 06-05-2006 07:41 PM
creating a read/write file system with kickstart triley Linux - General 1 12-29-2005 02:36 AM
whick window software can read and write the file in linux partition ztdep Linux - Software 9 07-19-2005 10:27 PM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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