I'm setting up an application that manages reading certain docs using a viewer I need to avoid users from opening the directory where these docs lie so that they can´t locate and copy them, thus they would be compelled to access them only through the designated viewer.
How can this be done via a vbs script ?
Anything a user's program can do, a user can do. One option would be to create a client/server setup, where after validation, the server retrieves and sends the data to the client. This needs to be done with a real programming language (not VBS).
Another option is to deny "List folder" to the folder holding the documents. This will prevent enumeration of the folder, and if done correctly, allows access to the files, assuming you know the name. The down side? Your script needs to know what the names are without looking at the files.
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |