Somethin like a filter Driver

Submitted by shre86
on June 19, 2006 - 4:18am

I am supposed to create a security application for linux. Basically once the file is open i have to read somethin and on the basis of that i give the user permissions. In windows this was implemented using somethin called a filter driver. In linux i know this can be done by adding some code to the kernel and then creating patch. But i dont want this. It has to be like package or something. How exactly can this be done?? Just want some basic ideas for a start.

I think LSM framework is what

gat3way (not verified)
on
June 19, 2006 - 4:36am

I think LSM framework is what you need

Actually i would like scheme

shre86
on
June 19, 2006 - 9:05pm

Actually i would like scheme above the kernel. So that i would not have to compile the kernel whenever anyone wants to use the security mechanism. This is something i am not able to find.

Oh sorry i was mistaken on th

shre86
on
June 19, 2006 - 9:28pm

Oh sorry i was mistaken on that. LSM should work.

Hi

midhun (not verified)
on
June 10, 2007 - 9:32pm

Hi Shreyas,

I am also on the way of designing a filter driver for Linux. What I want to achieve is a monitoring mechanism which notifies a file change including the path.

For eg, if we edit or delete a file, it should be notified from the Kernel space. If you have any idead, do share it with me.

regards,
Midhun

Is there any examples availab

shre86
on
June 20, 2006 - 1:58am

Is there any examples available of how to use the LSM to create my own security application?? I searched but not got anythin concrete.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.