Ö
ÖÜÒã
Hi
I am working on the file security development.I would like to find a way
to protect files in a specified folder from being copied to other
place.Could anybody tell me ?thank you very much.
for example:
there is a "security.txt" file in "c:\\sec\\"folder. The file is opened
,and then copied to another folder,such as "d:\\pub\\", in the "save as"
way.For the "save as" way is actually the combination of ReadFile() and
WriteFile() system services and I should not prevent the user from editing
files,so it makes no sense to simply trace the ReadFile and WriteFile
services.How could I detect this invalid copy behavior and prevent it?
I am working on the file security development.I would like to find a way
to protect files in a specified folder from being copied to other
place.Could anybody tell me ?thank you very much.
for example:
there is a "security.txt" file in "c:\\sec\\"folder. The file is opened
,and then copied to another folder,such as "d:\\pub\\", in the "save as"
way.For the "save as" way is actually the combination of ReadFile() and
WriteFile() system services and I should not prevent the user from editing
files,so it makes no sense to simply trace the ReadFile and WriteFile
services.How could I detect this invalid copy behavior and prevent it?