How to make it so when a user clicks on a file it requires a password?

Semune

Honorable
May 21, 2012
1
0
10,510
I need to make a file that prompts a password when users click on it, how do I go about doing this? Using Windows 7. Would like to be able to do it using command line.

Thank you.
 
Solution
The easiest way would be to put it inside of a .zip file. Put a password on the zip file and done. Otherwise it depends on the type of file. Word/office type files can be done the same way, but I've never seen a way to do this with a jpg or avi.

4745454b

Distinguished
Moderator
Apr 29, 2006
605
0
19,210
The easiest way would be to put it inside of a .zip file. Put a password on the zip file and done. Otherwise it depends on the type of file. Word/office type files can be done the same way, but I've never seen a way to do this with a jpg or avi.
 
Solution

ficler1977

Honorable
Mar 23, 2013
51
0
10,610
1.I would stay with ZIP or RAR. the free program is 7zip and tick"add password protection" during process.
2. If we talk about microsofts Word/office built in password protection than there is some programs that can break the password I believe. so better stay witg 7zip or winZIP, winRAR (if you want to pay).
 

NerdIT

Estimable
Jun 6, 2015
13
0
4,570
Right-Click file, go to Properties; on the General tab click Advanced at the bottom

At the bottom of the pop-up window, there should be an option to "Encrypt contents to secure data" check that box, hit OK, then apply.

You should the be prompted with a wizard/screen to set a password. If not, go back into Properties>General Tab>Advanced and click Details button.

Hope this helps!
 

NerdIT

Estimable
Jun 6, 2015
13
0
4,570


I would use this program: VeraCrypt, it is a fork of TrueCrypt -also a good option but no longer supported/updated- and doesn't work with Win10...So i would go with Vera;

https://sourceforge.net/projects/veracrypt/

It is free, and you can encrypt 1 file or a whole drive! :)