Realtime file-access logging/prevention
-
I am starting a new side-project: I would like to scan file access in real-time and deny access if the windows file system wants to access a folder that I have deemed inappropriate. Use Case: whenever the Windows file system (i.e. as directed by my wife) accesses a file, I want to check the path against a list of blocked paths. If the path matches an item in the black-list then I'd like my app to deny access. To enable/disable this security I'll set an environment variable. The problem is that I have no idea how to implement something like this; I've never experimented with real-time file access. I imagine it's pretty low-level. Does anyone have any pointers to help me learn about real-time file access ? Is it even possible ?
-
I am starting a new side-project: I would like to scan file access in real-time and deny access if the windows file system wants to access a folder that I have deemed inappropriate. Use Case: whenever the Windows file system (i.e. as directed by my wife) accesses a file, I want to check the path against a list of blocked paths. If the path matches an item in the black-list then I'd like my app to deny access. To enable/disable this security I'll set an environment variable. The problem is that I have no idea how to implement something like this; I've never experimented with real-time file access. I imagine it's pretty low-level. Does anyone have any pointers to help me learn about real-time file access ? Is it even possible ?
-
abiemann wrote:
Does anyone have any pointers
Right click on the file and select "Properties". In the Properties Dialog select the "Security" tab and set the User/Permissions however you want.
led mike
-
right, but we don't use log-in accounts on the PCs at home; our WinXP PCs default to an Administrator account when booting up to Windows.