Venantius Britto
asked on
How to password protect a folder via vb script?
Hello Experts,
I need to know the steps/process to password protect a folder and without entering the password no one should be able to access the file.
The reason for asking via scripting is we do not have WinZip or WinRAR installed on our desktops. I have few confidential documents/files in different formats like docx, xlsx, .pdf, images etc. I have put all the files in a folder but unable to password protect it.
Can any of you please help me without taking the help of any 3rd party app or downloads?
Many thanks in advance.
I need to know the steps/process to password protect a folder and without entering the password no one should be able to access the file.
The reason for asking via scripting is we do not have WinZip or WinRAR installed on our desktops. I have few confidential documents/files in different formats like docx, xlsx, .pdf, images etc. I have put all the files in a folder but unable to password protect it.
Can any of you please help me without taking the help of any 3rd party app or downloads?
Many thanks in advance.
ASKER
Hi Rich,
Thanks for your response. But these options did not help me in getting what I wanted.
The reason is since I need to do in my office system there are restrictions, with these I want to protect my folder :(
Thanks.
Thanks for your response. But these options did not help me in getting what I wanted.
The reason is since I need to do in my office system there are restrictions, with these I want to protect my folder :(
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Closing question. Author seems to have found a solution.
https://www.experts-exchange.com/articles/12134/Choosing-the-right-encryption-for-your-needs.html
https://www.experts-exchange.com/articles/12132/Microsoft-EFS-Recovery.html
Using a script to input a password doesn't help you much if people can read the script, which they can when you give them access to execute it. EFS is one way to combat that, however as outlined in my article it's not a very secure method if someone was determined to get the contents. I'd argue that Microsoft Office documents with a strong password are harder to get access into, at least slower when you consider bruteforce.
see: https://www.experts-exchange.com/articles/12386/How-secure-are-passwords.html
You may want to look into BitLocker, windows 7 and beyond have built-in.
https://www.howtogeek.com/193013/how-to-create-an-encrypted-container-file-with-bitlocker-on-windows/
If there are files that only certain people should have access too, then you may want to try NTFS permissions first, encryption may not be needed.
-rich