HI..
I am in Brazil..
Excuse my English..
I need a way of avoiding that an or more files are deleted, how to deny access...
At once grateful...
Deny Acces
There are multiple possibilites to do so:
(1) You can use NTFS security to restrict access to the file to specific users or to remove the right to delete the file from any user.
(2) You can open the file without sharing it. This way nobody can delete the file, as long as your program runs.
(3) You can write a little driver which protects the file.
(4) You can use madCodeHook to hook file deletion APIs.
(1) You can use NTFS security to restrict access to the file to specific users or to remove the right to delete the file from any user.
(2) You can open the file without sharing it. This way nobody can delete the file, as long as your program runs.
(3) You can write a little driver which protects the file.
(4) You can use madCodeHook to hook file deletion APIs.