Set a password for the document folder. How to protect your data from prying eyes. Encrypting folders and files

There are many ways you can use to create a password folder. Most of them require the use of some program, but we have a neat method to put a password on a file without third-party programs. The program can be unintentionally deleted, resulting in data loss. Our method will be able to return everything back, even if you forgot the password for the file and cannot find your data. ...

I advise you to look at other ways:

Create password folder on windows 10 without programs

Before creating a password folder, create a simple folder anywhere. It will contain another folder with a secure password and your personal data that you want to protect. Come up with any name, it doesn't matter in this case.

Create a new text document inside this folder by right-clicking on an empty space in the created folder. Select New\u003e Word Document.


Open the created new text document. Copy and paste the following code into this document:

cls @ECHO OFF title Folder Private if EXIST "HTG Locker" goto UNLOCK if NOT EXIST Private goto MDLOCKER: CONFIRM echo Are you sure you want to lock the folder (Y / N) set / p "cho \u003d\u003e" if% cho% \u003d\u003d Y goto LOCK if% cho% \u003d\u003d y goto LOCK if% cho% \u003d\u003d n goto END if% cho% \u003d\u003d N goto END echo Invalid choice. goto CONFIRM: LOCK ren Private "HTG Locker" attrib + h + s "HTG Locker" echo Folder locked goto End: UNLOCK echo Enter password to unlock folder set / p "pass \u003d\u003e" if NOT% pass% \u003d\u003d website goto FAIL attrib -h -s "HTG Locker" ren "HTG Locker" Private echo Folder Unlocked successfully goto End: FAIL echo Invalid password goto end: MDLOCKER md Private echo Private created successfully goto End: End

Change in the line if NOT% pass% website to your password you want to set, where is the value website password. Then you need to save the file as a batch file. From the "File" menu, select "Save As."


After the file is saved as a batch file, delete the original text file.


Start the file "locker" by double clicking on it. When you run the script for the first time, it will create a folder called "Private" in the same folder as the batch file. In this folder "Private" you will store your personal data for password protection. Add your files to be password protected to the "private" folder.


After adding your personal files to the folder, run the "locker.bat" file again. This time you will be prompted to lock your data with password protection. Press "Y" if you agree.


Notice that your personal folder where you added your personal files quickly disappears. Only the bat file will remain.


After running the script again, you will be prompted to enter the password that you changed in the script. In this case, my password is the name of the site. If typed incorrectly, the script will simply stop working and close, you will need to re-run.


If something went wrong and you want to get back your files, which were hidden and protected with a password, then we will consider how to get them back in simple ways.

How to see password-protected hidden folders again

Most people do not know how to configure the display of hidden folders in windows 10, those who know will figure it out quickly. Read here the topic of how to enable on all types of windows. All you need to do is enable "show hidden files" and uncheck "hide protected system files".

A warning will come out that scares ordinary users. Click "Yes", don't be afraid. After you find your data, return the settings back.


How to remove password from bat folder if forgot

A very simple way, but not safe for programmers. Users who know what they are dealing with will quickly figure out what is going on and how to view your hidden files. For example, I would never have guessed to look clearly at the "locker" file, it attracts little attention. You need to know on purpose that there is such a script on the computer, with such a bat file, a hidden folder and a password. The body shirt itself can be hidden in attributes and a shortcut can be created on it. The shortcut, in turn, can also be hidden by preassigning a key combination to it.

Right-click on the executable bat-file, select "Change" from the drop-down menu .. ru password.


With this method, you can create a folder with a password without programs, thereby securing your files. It turned out to be nowhere easier to password a folder in windows 10 without third-party programs. If the program can be uninstalled accidentally and all data under its password can no longer be found, then the methods given in the article are easily recoverable.

Many people want to have something personal, which is not accessible to anyone except the user himself - their own developments, "special" photographs not intended for public viewing, secrets, and so on. This requires passwords.

Most likely, there is no need to explain to anyone what a password is, everyone knows that. But not everyone knows how to put them.

We will figure out how to put passwords on folders and on certain files in the Windows 7, Windows 10 and Windows XP operating systems, and we will also talk about programs for encrypting folders.

Encrypting folders and files

Read also: TOP-3 Simple ways to show hidden folders or hide a necessary folder and set a password on it in Windows 10

1 First of all, you need to create a virtual disk, and then connect it to a personal computer. What it is? A virtual disk is a standard file that is connected as an image for CD and DVD. It should appear in "On my computer" under the hard drive icon.

2 After completing the previous step, you need to right-click on this icon. Next, we connect and configure encryption.

3 Enter the password and repeat it again, press the button "Further" .

4 Then you need to move the necessary files and folders to this virtual disk. Do not share your virtual disk password with anyone to keep your files safe.

This is the safest method.

Method number two

Read also: TOP-15 Programs for remote computer control over the Internet | 2019

The next method is more specific, but it is worth talking about for development.

1 First of all, you need to create a folder where you want to put a password.

2 Then create a notepad file in this folder.

3 Enter the text in the notepad file you created.

4 Save this file with a .bat extension and run it.

5 After you run this file, a Private folder will be automatically created, where you should save all your super-secret files.

6 After all files have been saved, run the .bat file again.

7 If you need to open the folder again, run the .bat file, enter the password, and the folder appears.

Until the password is entered, the folder is not visible, when you enter the password, the folder appears. Also, the user can enter the file - bat notepad and see the password for the folder.

VIDEO: How to password protect a folder in Windows

How to password protect a folder in Windows 7

Best encryption software

Read also: TOP 15 Best Flash Drive Data Recovery Software | 2019

It is worth noting, as already mentioned, for encrypting folders and various files, there are specialized programs that are designed specifically for this.

We have selected two of the best apps for this purpose. We will tell you about them below.

7-ZIP

Read also: TOP 10 disk cloning programs: their advantages and disadvantages

7-ZIP is another archiver with which you can easily set a password. The app is completely free.

To encrypt a file or folder follow the same instructions as for Winrar. The only difference is that you can choose one of several extensions here.

Download

FlashCrypt

Read also: How to disappear from the internet? All ways to delete accounts

FlashCrypt is another good encryption program that uses an algorithm called "AES".

When using the application, folders and files are not hidden; when opening them, you must enter a password. Don't worry if you forgot your password. You can always install it.

Instructions for use:

1 First of all, you need to download the application;

3 The next step is to enter the password, after which it is necessary to press the button "Protect" .

Anvide Lock Folder is a portable utility for encrypting folders and files. The application does not require installation. It can be loaded from other drives as well.

Instructions for use:

1 First of all, you need to start the program;

3 After that, drag the user folder with the mouse into the program window or add it using the button with the "+" sign.

4 Click on the closed lock icon, enter the password and click "Close access" .

AxCrypt provides secure AES-128 encryption of individual files with passwords. Use is surprisingly simple.

To encrypt a file or files in a folder, just right-click on the file or folder and select "encrypt".

Double clicking on an encrypted file allows you to edit or view it with a program of your choice. Closing an open file will automatically re-encrypt the file.

Download

Read also: TOP-5 Ways to delete all posts on the wall in Vkontakte (VK)

AES Crypt is a simple program that adds a context menu item to the general file system context menu. The program doesn't have the windowed mode that most do. Those. work is carried out only through the context menu.

You just right-click on the file you need to encrypt or decrypt, select AES Crypt, enter your password in a small dialog box.

And a new encrypted or decrypted file will appear next to it. In the case shown in the picture (we carry out encryption), the name of the new encrypted file will be Bootstrap.kdbx.aes.

Download

Setting a password in Windows 7/10

Read also:

1 First you need to know the bitness of the OS. For this in the menu "Start" need to find an item .

2 in "Control panels" you need to enter the menu "System and safety" .

4 in "System" the capacity of the system will be indicated. It must be remembered.

7 Pressing the button will start downloading the installation file. After downloading it, you need to install it by simply clicking on the downloaded file with the left mouse button (in Google Chrome it is).

8 After installation, the program must be opened.

Selected folder

11 Next, the folder must be added to the archive. As a matter of fact, it is not necessary to look for a folder in the program itself. For convenience, it is easier to download and install the program, after which, by going to the folder, right-click and select "Add to archive" .

12 After you need to configure the future archive. First you need to select a name and format, and then go to the tab "Additionally" .

13 On the menu "Additionally" you need to set a password. The longer it is, the more reliable it is, but at the same time it is easier to forget it.

The password must be easily remembered, but at the same time, so that no one knows it. Then you need to press "OK" .

The archive has been created and password protected. For greater reliability, you should add stealth to the archive.

To do this, right-click on the archive and select "Properties" .

The file will become invisible until the function of showing hidden files and folders is activated in Windows.

When you try to open the archive, it will open itself, but its contents will be password protected.

For example, Boruto's series in the archive in the picture requires a password. Password-protected files are marked with "*" in WinRar.

15 If the password is entered correctly, the password-protected file will start and you can open it. In this case, see the video.

If the password is entered incorrectly, an error window will appear. You need to close it and try again to enter the correct password.

Done. But we must remember that any passwords can be cracked using various hacking programs.

Good day, dear readers! Today I'll talk about how to put a password on a folder or file, I think this information will be useful to many. It will take you just a couple of minutes to set a password for a folder, and now you will see for yourself.

Do you have a document with confidential data? Maybe you have to keep personal information where everyone can read it? Have you faced a situation when you need to send by e-mail a document containing, for example, the phone numbers of friends, bank account, passwords from mailboxes, websites, but there is a possibility that a stranger can read them?

If the answer is yes, then you should probably know how to solve such a problem.

I will share the easiest and fastest way to protect data, explain how to set a password for the archive.

To implement our plan, we need. Can be used . For example, let's take an ordinary text file that contains personal information, and we will put a password on it.

Winrar

Click on the file with the right mouse button and select "Add to archive ...".

In the "Archive name and parameters" window, go to the "Advanced" tab.

In the "Advanced" tab, click "Set password".

We fill in the required fields:

  1. "Enter password".
  2. Enter the password again (for verification).

Then click "OK".

To create an archive, click "OK".

Let's check if the password is actually set for the file? We open the newly created archive and see:

The check was successful! Now your archive will be password protected, and only the owner of the password can open it.

7 - Zip

It's even easier with 7-zip. Click on the file with the right mouse button and select "7-Zip" - "Add to archive ...."

In the "Add to archive ..." window, you need to pay attention to the fields called "Enter password" and "Repeat password". After you have entered the password, click the "OK" button.

So, we looked at examples using archivers. This is one of the easiest ways to set a password. But what if you don't want to archive your files, but you still need to hide them? And there are several solutions for this situation.

For starters, I would like to note that the ways to set a password for a folder in Windows XP or Windows 7 are not at all different from the solution presented here for Windows 8. You will need the same actions and the names of the buttons will be the same. Now that you know all the nuances, we can start hiding important data!

Method without using programs

Those who say that it is impossible to do this without using programs are a little cunning or simply have not heard of this method. In addition, I consider this to be an easy option, but provided that this code is available.

So, we have a SECRET folder. With a slight movement of your hand, right-click inside it and create a text document in it.

Copy the following into your document:

title Folder is locked

if EXIST "MyLock" goto M2

if NOT EXIST Secret goto M4

echo Do you want to block folder? (Y / N)

set / p "cho \u003d\u003e"

if% cho% \u003d\u003d Y goto M1

if% cho% \u003d\u003d y goto M1

if% cho% \u003d\u003d n goto M2

if% cho% \u003d\u003d N goto M2

echo Wrong choise.

ren Secret "MyLock"

attrib + h + s "MyLock"

echo Folder unlocked

echo Input password

set / p "PASSWORD \u003d\u003e"

if NOT% PASSWORD% \u003d\u003d YOUR_PASSWORD goto M3

attrib -h -s "MyLock"

ren "MyLock" Secret

echo Folder unlocked

echo Wrong password

echo Secret folder is create

Click on the "File" tab, select "Save As" in the drop-down menu.

Now it is important to assign the file extension bat... It's very simple. To do this, just change its name so that it looks like FileName.bat

Don't forget to define the file type as "All Files". This is a key part of making our folder secret. Although it can be done in another way, I do not want to lengthen the article because of the explanations.

Now double-clicking the left mouse button on the bat-file creates a folder "Secret", in which you can put the most secret information. Run the bat file and in the window that appears, type Y... The folder is automatically hidden. To make it visible, run the bat file again and enter the password. In our case it is “ PASSWORD \u003d ". In order to put your own password on the folder, you need to replace the word "PASSWORD" with your password, but do not forget to put the "\u003d" sign after entering your password and only then press "Enter".

So we figured out, for example, how to put a password on a folder in Windows 8. It is worth noting that this is more likely to hide the folder using a password, but if you do not want to resort to using programs, but set a password with built-in system tools, then this the option will be your salvation. Next, we will look at how to put a password on a folder using various programs.

Folder Lock method

Today, there are a lot of programs on the Internet for setting password on folders. Folder Lock is one of the simplest and freely distributed ones. In order to download it, you can go to the site. Click on the link or copy it into the address bar of the browser. While you wait for 9 MB to download, you can start viewing the instructions.

So, when we run the program, click Next, then read or not read the license agreement, click Agree, and then Install and finally Finish. As a result, this program will start.

Everything in it is in English, but don't worry, even if you don't know English, you will easily understand how to put a password on a folder in Windows 7 or any other system.

In the field that appears, enter the password and click "OK". We re-enter the password and click on "OK" again. A white box appears, into which we simply "drag" the folder with secret data.

The folder is now locked. To unlock it, you need to start the program again, enter the password and click on the "Unlock" button in the newly opened window. The folder will be unlocked and will appear in its original location. If for some reason this method is not suitable for you, then I will tell you one more option, how to put a folder under a password.

Method using Password Protect

Another handy program for saving your personal data is Password Protect. It can be downloaded from SoftMail at this link:.

She's very lightweight. Downloaded, launched. We select "Next" two times. So we agreed to the terms of use and can continue with the installation. Press “Next” two more times and “Finish” once. A trial version of the program is also suitable for our purpose, so select it by clicking "Run Trial Version".

Run the program and click "Lock Folders". In the window that opens, select the folder where we are going to put the password and, full of determination, click "OK".

The program prompts us to enter a password and repeat it. Then press "Lock Folder".

If you try to open the SECRET folder, the program will not allow you to do this and will require you to enter an access password.

Now you absolutely know exactly how a folder password is set. I hope this knowledge will be useful to you and will allow you to save all your confidential files and folders.

Here's another program:

Each of us from time to time has a need for hiding personal information on a PC. Confidentiality may be required by various files or folders that need to be denied access to other users. I have had such a need more than once, and in this material I will describe various ways - how to put a password on a folder, list auxiliary programs that can easily password-protect the required file, and also describe their basic functionality.

Popular archivers WinRAR or 7-Zip stand on the computer of the absolute majority of users. Here is their functionality, and I propose to use it in setting a password for folders to protect your files. If you do not have these programs installed, download one of them WinRAR or 7-Zip from the official sites.

Manual for WinRAR


To understand how to put a password on a folder using WinRAR, see how this process visually looks like:

Manual for 7-zip

  1. Working with an alternative archiver 7-zip just as simple.
  2. Select the files or folders you need, right-click, and in the menu that appears, select "7-zip - Add to archive".
  3. Set the archive format to 7-zip, check the "Show password" options and encrypt file names.
  4. In the “Enter password” column, enter the required combination of letters (numbers).
  5. And then confirm the changes by clicking "Ok".

Hide the folder using a bat file with a password

Create a folder to be password protected. Then we create in this folder a text document with content similar to this (go and copy the contents of the file to your file via copy-paste):

Although this method is not characterized by increased reliability, and an experienced user can always look into the bat file, nevertheless, this option can be considered as one of the alternatives to setting a password for the file folder.

We put the password on the directory using Microsoft Office 10

The Microsoft Office 2010 (or later) toolkit allows you to encrypt documents created in this product.


How to put a password on a folder using Windows tools

If you are not retrograde, use NTFS, not FAT 32, and users log into your computer under their (and not your) account (not having administrator rights), then you can use the method below to set a password for the directory.

Its essence lies in specifying in the properties of the folders of those accounts that will gain access to it. If a person's account does not have the necessary rights, then he will not get access to the directory or he will be prompted for a password.

  1. To do this in the explorer, click on the folder (file) with the right mouse button and click "Properties", go to the "Security" tab, then click "Change".
  2. Click on "Add" and enter the logins of the people to whom you deny access.
  3. To check the correctness of the entered logins, click "Check names" (the correctly entered login will be underlined).
  4. If you need to prohibit everyone, then type the word "All" (without quotes), click "Ok", and put the necessary checkboxes in the "Deny" column, click "Ok".
  5. After the performed actions, all users (except administrators) will not be able to access this folder.

How to password protect a folder using utility programs

Below I will give a list of auxiliary programs that make it easy to put passwords on folders, and also describe their functionality.

LocK-A-FoLdeR. This program is completely free and is a great option for beginners. It has a minimal interface and a simple password system. The "Lock a Folder" option selects the folder for the password, the "Unlock selected folder" option opens the password folder, and the "Change Master Password" option allows.

Instead of using encryption techniques, LocK-A-FoLdeR simply hides the folder from anyone who might access it. To use the folder again, you need to run this program and click on "Unlock selected folder".

Folder Protector. This program uses encryption to protect your folders. You need to launch it, specify the folder, access to which you want to close, specify the password twice and click on "Protect". The folder will be encrypted. It will be possible to decrypt it using the main program, as well as using a small executable file that will be created after encryption.

Folder Protector has a semi-commercial basis (free functionality is very wide) and can be recommended to many users.

Password Protect USB. This product is very popular, although it is based on the paid version. Its functionality is similar to the programs described above, just click on "Lock Folders", specify the path to the folder, enter the password twice.

You can go the other way, because the Password Protect USB program is built into the Explorer menu. In the explorer, right-click on the desired folder, select "Lock with Password Protect USB", enter the password twice and click on "Lock Folders". Now, when you try to enter this folder, a window will pop up where you will need to type a password.

DirLock. The functionality of this program is similar to the previous ones, after installation, the option "Lock / Unlock" (close / open) will appear in the explorer menu. If it does not appear, you need to start the program, and in its options select Add "Lock / Unlock" Context Menu.

Now, to encrypt a file, it will be enough to right-click on it, select "Lock / Unlock", enter the password twice, and then click on Lock. The procedure for gaining access to an encrypted file is the same - after launching it, you will need to enter the required password.

How it works can be seen here:

Anvide Lock Folder. This free program will help you how to put a password for the http://anvidelabs.org/programms/asf/ folder.

Launch the software, click on the plus in the main menu, use the explorer to find the folder to which you want to put the password and click on the lock image at the top. Enter the password twice and click on "Close access" (you can create a password hint). The folder will become hidden, and to access it you will need to launch Anvide Lock Folder, select our folder, and then click on the image of the open lock. Then you will need to enter a password and click on "Open access".

IoBit Protected Folder. A paid program for setting passwords, has a simplified interface. After starting the IObit program, click on "Add", select the required folder, enter the password, confirm. To unblock, click on "Unblock", enter the password, get access to the file. It's simple.

Conclusion

As you can see, there are a large number of different ways to put a password on the necessary folders and files. The simplest and most accessible one allows you to use the capabilities of the archiver, while the more complex ones involve the use of specialized programs with similar functionality. All these techniques allow you to significantly limit the access of unwanted individuals to your folders, thereby you will achieve complete confidentiality of your data.

A simple instruction for setting passwords on folders in Windows. If you have a need to protect certain personal data, you can, of course, set a password when loading the operating system or create a new account with adjusted rights. But often only a small portion of your information needs protection. Therefore, many users are looking for answers to questions about how to password-protect a folder on a computer.


Content:

The most obvious way would be to simply hide it, but this is not the best option. As soon as the function of displaying all hidden files is enabled in the settings, the folder will immediately be seen. So it's not worth doing this if you really care about the safety of your files.

Surprisingly, Windows doesn't have the ability to set passwords for folders. You will have to use third-party software. It should be borne in mind that this approach will by no means protect folders, for example, from deletion or transfer, so be careful.

The most common options for setting a password are archiving programs, specially developed utilities and bat-scripts. To learn more about how to password protect a folder in Windows, take a look at each of these community features.

Initially, archivers were created in order to be able to pack one or several files into an archive, while being able to compress the final volume of the occupied information. But, besides this, these programs can be used to set a password for the required data folder. The most suitable options are WinZip, WinRar, Hamster Free ZIP Archiver, and 7-Zip.
Let's analyze the setting of a password in Windows using the Winrar program as an example:
1. Install Winrar software on your computer.
2. Using the right mouse button, open the context menu of the required pack and select the "add to archive" item in it.
3. Next, you will see the "name" and "archive parameters" window. By clicking through the various tabs, you can change the type of compression and many other parameters, but do not waste time on this, because we only need to set a password.
4. Find in the "advanced" tab the button "set password"
5. In the "enter password" window you can enter it. Beforehand, it is recommended to click the "show password" checkbox so that you are sure that everything is correct. If you want the files to change their names after that, you can check the box next to “encrypt file names”. Then click OK.
6. After these actions, the window will change its name to "password backup". Click ok, and you will receive an archive, to open which you need your password.
In turn, if you enter the wrong password, you will not get access to the files.

Utilities of this kind use encryption of elements. Even if these programs are removed, the files will remain locked. In addition, you have the opportunity to set a password for entering directly into the programs themselves, making the data even more secure. Using Anvide Lock Folder or Flash Crypt applications, you can easily figure out how to password protect a folder.

Let's consider setting a password using Flash Crypt as an example:

1. Install Flash Crypt software on your computer.
2. Call the context menu on the required folder, and there select the "protectwithflashcrypt" item.
3. In the window that appears, you need to enter your password twice, which must be at least 4 characters. Do not change the rest of the fields, then click “protect”.
4. After the encryption process, a Flash Crypt icon will appear on the folder. If you enter the correct password, the folder will be decrypted and you will be able to access the data.

Setting a password using a bat script

This method is the most insecure, as it simply uses simple hiding of folders in Windows. A user who understands how to enable viewing hidden data will easily gain access to information. So this option is suitable only for those who are sure of the inexperience of someone who can search for hidden folders.

To start the encryption process, create a file in notepad and copy the script there:
: lable
cls
set / p disk_flash \u003d "Vvesti buky flash drive:"
cd / D% disk_flash%:
if% errorlevel% \u003d\u003d 1 goto lable
cls
cd / D% disk_flash%:
del * .lnk / q / f
attrib -s -h -r autorun. *
del autorun. * / F
attrib -h -r -s -a / D / S
rd RECYCLER / q / s
explorer.exe% disk_flash%:

After that, you need to change the file type, for this change the extension from txt to bat, after which it will be ready for use. The essence of the script is as follows:

  • The first time you click, a folder named "Papka" will be created, where you will need to copy all the necessary data.
  • After the second press, the "Secretno" folder will be distributed, which will immediately be hidden.
  • The next time you press it, you will be prompted for a password. If you enter incorrectly, the script is closed, and you need to enter it again.
  • After entering the correct password, the folder will become visible and will have a name, as in the first paragraph.

Also keep in mind that instead of MOI-PAROL, you can use any password you want.
Thus, you have become familiar with the basic methods of setting passwords. Now all that remains is to choose the appropriate one. The safest options are archiving programs or special applications.

3 more useful articles:

    Windows Repair is a rare type of software that can rid your personal computer of almost all ...

    A program that checks the strength of passwords of system users. This utility is used by network administrators to calculate users with ...

    Acronis is a pretty famous program. When developing this software, the developers focused on ...