intercept keyboard inputs
hi newbie here, first of all this is a great site. someday i hope to contribute some codes. anyway a question to all. how do you intercept keyboard inputs made by a user. what i want to be able to do is to prevent a user from deleting a file or folder in a given directory. i've searched for spying on a folder and logging the keys that was press, and i've also read something about low-level keyboard hooks. it works great, but only half of my problem was solved. any help would be very much appreciated. thanks.
p.s. if you have the time to email me, please do.