Hi,

I have an application which will notify me whenever any user accessing any file in my machine through network. ( I used NetFileEnum API for this )

Now I like to add one more feature to my application. That is to block a user from accessing any files in my machine.

1) Is there any API for to block a user from accessing my machine.
2) or I have to close the session, by checking in regular intervals that if the user connected to my machine is a blockable user.

pls help.

If there is any Idea for this pls help.

Ajay