How to set a password for a folder

Source: Internet
Author: User
Tags mkdir zip

How to set a password for a folder,

Method One:

1. If you want to open Windows Explorer, click start → programs → attachments, and then click Windows Explorer.


2, right-click the file or folder you want to encrypt, and then click Properties.

Click Properties

3, on the "General" tab, click "Advanced". Select the Encrypt content to protect data check box.

Encrypt content to protect data

Attention matters

1. Note that only files and folders on NTFS-partitioned volumes can be encrypted, and that files and folders on the FAT partition volume are invalid. Compressed files or folders can also be encrypted. If you encrypt a compressed file or folder, the file or folder will be uncompressed.

2. Files marked as "system" attributes cannot be encrypted, and files located in the systemroot directory structure cannot be encrypted.

3. When encrypting a folder, the system asks if you want to encrypt its subfolders at the same time. If you choose Yes, its subfolders will also be encrypted, and later all files and subfolders added to the folder will be encrypted automatically when they are added, or when the files are compressed.

Method Two:

1, in the location you want to encrypt, create a new folder, such as under the D disk, the creation of a 123 folder (name does not matter).

2, download the encrypted file (batch file), copied to 123 this folder.

3, after decompression right click to download the file Locker.bat, select "Edit" (note is not open), find "Your password in this change" this line, to delete these words, changed to the password you set, such as 123456, the line of code will become if not%pass%== 123456 Goto fail Save the file.

4, double-click Locker.bat, then in 123 This folder will appear a Privatede folder, this folder is an encrypted folder, you can put you want to hide de files are placed here.

5, once again double-click Locker.bat, and then will ask you if you are sure to lock this folder, enter Y press ENTER on it. Then the private folder disappears. If you want to open this folder, double-click Locker.bat, enter the password you just set (123456) to display that folder.

Method Three:

1. Build a folder not open: Start-run--cmd.

2. Enter the location where you want to create the directory, such as: Cd/de:program Files.

3. Create a folder with the name "..." End, such as: mkdir NewFolder.

4. At this time we open my computer, into the E:program Files, folders, will find a name called "NewFolder." folder, but we can't open it or delete it, so it's a simple encryption function. If we want to see the contents of the folder, or write the file, then we continue to operate under CMD.

5. Open cmd into the directory, such as cd/d "E:program Files."

6. View this folder de8dot3 short file name, dir/x.

7. We will find in the "NewFolder." There will be a name like "Newfol~1" in the front. We enter the CD newfol~1 into this directory, then we can use Copy,move,mkdir, such as command to copy files here, move files, new folders and other operations, if you do not cmd command, you can use the "Start Explorer NewFolder ... " command to open this folder, you can put things inside, just like the normal folder operation.

Method Four:

Currently, the compression tools we use are mainly winrar,winzip,7-zip and so on, and these tools provide encryption capabilities. If you don't have a lot of files and your files aren't very large, it's a good idea to pack and encrypt them with a compression tool, and you can prevent some viruses from being corrupted. If the file is too large, compressed decompression time is too long, a little outweighs the gain.

Here simply put the use of 7-zip encrypted file operation, as for the RAR and so basically almost.

1, select the file or folder to encrypt, click Right--select 7-zip--to add to the compressed file.

2, the top of the file to a name, format select 7z or zip.

3, because we are mainly used for packaging, so the compression level select the "fastest compression" can be.

4, other options to use the default, and then in the "Encryption" where to fill out the password, and choose "Encrypted file name", if the format is in zip, you can not choose "Encrypted file name", then others can open the compression package to find out what files inside, but can not open the file or release the file, and then click OK. If necessary, you can also choose "Create self Release file" as an EXE file.

Method Five: Encrypt with encryption tool

At present, there are many tools can encrypt files, some use passwords, some use of camouflage, to Baidu search for "encryption software", you will find a lot of such tools.

Method VI: Ultimate Encryption-NTFS Encryption

If your partition is not an NTFS partition, use the following command to turn it into an NTFS partition:

Convert x:/fs:ntfs

where x: Is your letter

NTFS encryption is based on the Windows user account, that is, which user you are using to log on to the system and encrypt the file, only this user can access it after encryption. So, to use this method, first create a user account for yourself, plus a password, and others log on to the system with other user accounts.

The encryption method is simple:

1, with their own account login system, select the file to encrypt, right click, select Properties.

2, select the security card, point advanced, select the right card, the following check box to remove the tick, pop-up prompts select Delete can be.

3, return security, point Add, enter your username, point OK, the right to choose Full Control. The above 2-3 steps are to complete the NTFS access control, so that the file only you have access rights, this will be more secure.

4, select the general, point advanced, select "Encrypt content to protect data."

5, point of application, if there are warning prompts, select "Encrypted file and its parent folder", if just want to encrypt the contents of the file, you can choose "Only encrypt Files" to the folder is complete.

Because NTFS encryption uses a certificate to authenticate access is legitimate, if you reload the system, then the encrypted file will never open, so we also have to back up the certificate.

1), start-run-input certmgr.msc.

2), certificate-current user, select individual-certificate, the right side will see a user's self issued certificate.

3), on the certificate on the right click, select All Tasks, export, as prompted step-by-step can be, if a day to reload the system, just set up a user of their own, login to double-click the certificate, follow the prompts step-by-step import can, and then encrypted the file itself can continue to visit.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.