bkock a user from accessing a fil
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
Re: bkock a user from accessing a fil
Re: bkock a user from accessing a fil
Maybe I don't understand this fully but why not use standard user rights and/or audit?
Re: bkock a user from accessing a fil
Hi,
I deveolped an application to display the files on my machine which are being accessed by another machines.
So with my application I can know which machine access which file in my machine. Now I like to block that user from accessing that file on my machine.
I had tried by clossing the opened session( using NetFileClose()). Even if the session clossed still the other machine can access that file in may machine.
Do u have any idea abt this.