|
-
August 7th, 2010, 05:11 AM
#16
Re: DeleteFile Hook
 Originally Posted by itsmeash
Just being curious, How to do it? What's the approach to peek into file I/O operations, There's certainly not an issue of different OS as i've to run in win 2000 or 2003 only.
I'll be honest with you, I've never done that myself, so maybe someone else will clue you in. I'd suggest one thing though. Don't try to re-invent the wheel and go with the accepted/easy way.
Can I ask, why do you need all this?
-
August 7th, 2010, 02:36 PM
#17
Re: DeleteFile Hook
 Originally Posted by ahmd
Can I ask, why do you need all this?
It's a control feature where my application will let the legitimate user delete the files not others.
So for that i need to know that file is going to be deleted(Pressing DELETE, SHIFT+DELETE, DEL COMMAND ETC) and before it delete i should pause that operation and invoke another exe which will check whether the user is legitimate or not, If yes then i'll let that user to delete the file else i've to show "ACCESS DENIED" message by altering the behavior of delete.
-
August 7th, 2010, 03:11 PM
#18
Re: DeleteFile Hook
It seems like you're digging into the anti-virus/firewall type realm. Good luck with that stuff, it's not for the faint hearted... Still, the easiest way to implement what you want is what I suggested in my post above.
-
August 12th, 2010, 12:42 AM
#19
Re: DeleteFile Hook
hi,
whenever any file get deleted i should get the message first and based on some checks on user i decide whether the user can delete the file or not, Now the check part is not in question, what kind of keys can I use.
thanks for suggestion
regards,
phe9oxis,
http://www.guidebuddha.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|