Restrict file access

  • Thread starter Thread starter sgrm123
  • Start date Start date
S

sgrm123

Guest
Hi,

My application is developed for windows OS with MFC.

How to restrict some files should not be accessed by some other processes or copy/paste files by user until I am running my process?

My application is using 60 dlls so every dll also opens the files and close them. my main exe code also open and close the files.It is very difficult for me to do lock and unlock in every dll.

Is there any other way to achieve my requirement without locking/unlocking concepts or can I achieve my requirement by locking/unlocking the files and at the same time not modifying dlls.


Thanks

Continue reading...
 
Back
Top