Messages in this thread | | | Subject | Re: Use of inode for storing security info | From | Valdis.Kletnieks@vt ... | Date | Fri, 23 Sep 2011 19:47:05 -0400 |
| |
On Fri, 23 Sep 2011 23:48:36 +0530, Parag Amritkar said: > Can we use any field of inode for storing information like storing > encryption key of that file?
You probably want to look at how the various security LSMs use the "security.*" extended attribute namespace to store labels and similar information.
Protip: You don't want to store the encryption key of the file there. That's basically leaving the key under the doormat - and a sign saying "look under doormat for key". [unhandled content-type:application/pgp-signature] | |