Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Сipher and deciphering files in kernel

    I want to make a transparent ciphering of files in kernel space. Some file on disk may by ciphered but with help of my kernel module when some one is reading it from user space (cat, less etc.) it receives deciphered data.
    My idea was to write module that intercepts disk's sectors when they are read from disk and encrypt them and to cipher when OS saves sector to disk.
    Is it possible to do this? If it is possible how should I do it?
    Is there any easier solutions?

    Sorry for my terrible English

  2. #2
    Linux Newbie theNbomr's Avatar
    Join Date
    May 2007
    BC Canada
    Encrypting filesystems already exist. I found this Debian-hosted page on the subject pretty quickly with Google.
    --- rod.
    Stuff happens. Then stays happened.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts