I am trying to develop a script that is going to make access to a directory conditional to the user accepting a confidentiality aggreement.
The script would run an application (Word, Notepad etc.), open a file (the confidentiality document), and access to the directory would be triggered by the user closing the file.
Is there a method, to lock a directory programmatically? The documentation I have found doesn't seem to cover it.
The script would run an application (Word, Notepad etc.), open a file (the confidentiality document), and access to the directory would be triggered by the user closing the file.
Is there a method, to lock a directory programmatically? The documentation I have found doesn't seem to cover it.