How to put a password on a folder (archive or otherwise password protect it in Windows). How to set a password for a folder without additional programs Is it possible to lock a folder on a computer

💖 Do you like it? Share the link with your friends

Quite often, everyone in the household uses a computer and there is a need to hide certain information in a folder from prying eyes. There is a stereotype that it is difficult to do this. But with a little effort, in just a couple of minutes you can put a password on a folder or file.

To this day, the Windows operating system does not have the ability to hide information in folders and files. Microsoft provides the ability to restrict access to certain users. But the computer can be used by several people and this option is not entirely convenient.

You can find and install the program on the Internet. You just have to spend a lot of time studying the nuances of its work. In this case, the WinRar archiver will come in handy. As a rule, it is installed on almost every computer. It’s hard to work without an archiver, and sooner or later you’ll have to download it.

To set a password using the WinRar archiver you need to:

1. Right-click on the folder or file to which you want to close access. Then select “Add to archive” in the context menu that appears.

2. A small window will open where you can set the parameters. Click on the “Set password” button. To do this, you need to set them in the “Advanced” tab by clicking on “Set password”.

3. After this, a window will open where you will need to enter the desired password and confirm it. Here you can also select additional options: display the password as you enter (the characters you enter will be shown) and encrypt file names (file names will be in the form of asterisks, additional protection).

4. The password is set to archive. An asterisk next to a file means it is password protected. You can add any file or folder to the created archive by first entering a password.

5. When opening the archive, a window will appear asking you to enter a password.

Files archived with WinRar archiver open without problems.

Let's figure out how to put a password on a folder using the free Dirlock program. This is a fairly simple way to protect personal data. Download and install the program ().

After this, just right-click on the folder that we want to protect with a password and select “Lock/UnLock”.

In the next window, enter the password for the folder 2 times and press the “Lock” button. If you check the box next to “Hide”, the folder will become hidden. You can find it in the folder with the installed program C:\Program Files\dirLock\. To open a folder, you need to click on the folder and select “Lock/UnLock” again, and then enter the password.

I would like to note that the program does not work correctly in, at least for me.

Developers release thousands of different programs every day. This is how Password Protect USB was born in the software sector. It is distributed free of charge and finding it will not be a problem.

After downloading the program, you need to install it. In order to put a password on a folder using Password Protect USB, you will need to perform a number of simple steps:

1. Launch the program and click Lock Folders. Next, a window will appear in which you need to specify let to the folder. These actions can be done in just a few clicks: right-click on the folder and select Lock with Password Protect USB from the context menu that appears.

2. A small window will open where you need to create a password and enter it for confirmation. Click Lock Folder.

3. A message will appear that the folder is password protected, and there will be a red icon on the folder itself. If one of the users tries to open it, he will see a window where he must enter a password.

By setting password protection on a folder, you can transfer various documents to it. Access to them will be closed.

Using Password Protect USB, it is possible to set a password for folders that are located both on the computer and on flash drives.

The Anvide Lock Folder program allows you to do similar actions. You need to launch it and click on the big plus sign. Then find the required folder in the list and click “Ok”. A folder will appear in the program window indicating its location. To set a password, you must first select it, and then click on the lock and enter the password. Anvide Lock Folder differs from similar software in that it provides a password reminder function. The folder can only be accessed through the program.

Many people use computers for work and personal communication. To perform their work and solve financial problems, they install various utilities, text editors, and applications. Most of these programs require authorization. To save work results, financial information, and a large number of logins and passwords, it is necessary to restrict access to folders and files to other possible computer users. To do this, you need to know how to put a password on a folder or encrypt an archive using Windows itself or special programs.

Why do you need a folder password?

The access restriction task can be divided into two subtasks. The first of these blocks access to your personal information on your computer or over a local network to everyone except you. The second task is to restrict the access of other possible users of your computer to your account. A separate task is archiving data or using software to reduce the size of files. Speaking generally about protection, a password for folders is required when restricting access to:

  • personal, accounting, tax or other confidential personal and business information;
  • logins and secret codes from personal accounts in online banking, email utilities, social networks;
  • business secrets, technologies, inventions, developments in all spheres of human activity.

How to password protect a folder on your computer

There are several ways to classify all confidential information. The most basic of them are:

  • the ability to set a password for a folder using the Windows operating system - create a password key for the directory, a launchable bat file with a pin code that opens the directory, create document protection using Microsoft Office;
  • use of specialized archiving utilities indicating a secret code to open the archive;
  • Protect a folder with a password using special utilities that make files and directories locked with a secret code and invisible in file managers.

Windows tools

Windows operating systems of different editions have different ways to password-protect a folder on your desktop or disk. For Windows 7 computers that use the NTFS file system, there is a way to protect data at the physical level. To do this, you need to create a key file with the pfx extension:

  • open the “Properties” tab necessary to close the directory;
  • in the top menu go to the General->Attributes->Others tab;
  • in additional attributes, check the content encryption checkbox;
  • select “Encrypt content to protect data”;
  • click “Archive now”, the encryption process will begin;
  • Click “Next” and automatic export of certificates will start;
  • then you need to check the box for the key file extension type - PFX;
  • set the code for the key file;
  • click “Browse”, select the storage location on your computer or flash drive, the name of the key file, move the data to the key file by clicking “Next”;
  • after clicking “Finish” the folder will be encrypted;
  • To open it, you need to click on the key file and enter the code.

Using standard Microsoft Office 2010 tools, it is possible to encrypt created documents. Using this tool, you will be prompted to enter the specified password when you try to open any document created in Office. For this:

  • select the “File” tab;
  • further – “Protect document”;
  • in the menu we indicate – “Encrypt with password”;
  • Having entered the secret code twice, click Ok->Save.

Archiving programs

At the dawn of the computer era, archive programs were used primarily to compress folders in order to save space on the hard drive. Now these utilities are used to package information when sending it by mail, uploading it to hosting, storing it, and selling it. Archivers have another important feature thanks to the function of setting a PIN code during archiving. Moreover, any archived file can only be opened by entering a secret code. The most popular archivers, supported by many platforms and hosting sites, are WinRAR, WinZIP, 7-ZIP.

Using special programs

You can restrict access to directories by using special utilities created for this purpose. The graphical shells or sequence of operations in these programs are different, but they are all made in order to lock a folder on the computer, conveniently and quickly set a code word for opening folders, and hide their presence on the disk from any prying eyes. There are paid and free such utilities. They make it possible to block access to directories with any content - texts, music, photos, videos. The most popular on the market are:

  • PasswordProtect USB;
  • Folder Lock;
  • LocK-A-FoLdeR;
  • Folder Protector.

How to make a folder with a password using an archiver

By creating an archive using the popular WinRAR or 7-Zip archivers, it is possible not only to reduce the size occupied by folders with any content by 30-50%, but also to add a code to open this archive. This practice is used when selling information, lessons, etc. through the Internet. Downloading archives from websites or torrents is free, but to open them you must purchase a secret code. Once you create an archive, you can allow new files and folders to be added to it. Modern versions of these products have a number of additional features.

WinRAR archiver

One of the very first and most widespread is the WinRAR archiver. It has several settings before packaging - for speed, compression ratio, work in the background, specifying the name of the archive, where it is saved, and many others. To create an archive you need:

  • Having selected the objects to be archived, right-click and select “Add to archive” from the context menu;
  • create an archive name;
  • the drop-down list on the right provides the opportunity to select the method of updating the source files and those in the archive;
  • if necessary, check the box “Delete files after archiving”;
  • if you need to block the archive, check the “Lock archive” box in Archiving Options;
  • press the “Set password” button and enter it twice;
  • It is recommended that after entering the code words, select “Display password at login” and “Encrypt file names”, then “Ok”;
  • To start the process, click “Ok” at the bottom of the main menu.

File archiving program 7-ZIP

The latest versions of the WinZIP and 7-ZIP utilities are paid; for them to work fully, you need to register on the developer’s websites, pay and receive an activation key. If it is available, for everyone who uses archivers, the work of creating an archive is as simple as with WinRAR. To create an archive you need:

  • Having selected the necessary objects, by right-clicking in the menu, select “7-ZIP-Add to ZIP file”;
  • set the archive format, check the “Show password” and “Encrypt file names” options;
  • in the “Enter password” line, specify the code word;
  • Start archiving by clicking the “Ok” button.

Protect and hide a folder using a BAT file with a password

One option for closing a directory with code is to create an executable file or bat file, which is created in any simple text editor, for example Notepad. This file is created in the folder that needs to be password protected. The text of this utility is available on many resources on the Internet. It looks like this:

title Folder Private

if EXIST "Compconfig Locker" goto UNLOCK

if NOT EXIST Private goto MDLOCKER

echo Are you sure you want to lock the folder(Y/N)

if %cho%==Y goto LOCK

if %cho%==y goto LOCK

if %cho%==n goto END

if %cho%==N goto END

echo Invalid choice.

ren Private "Compconfig Locker"

attrib +h +s "Compconfig Locker"

echo Folder locked

echo Enter password to unlock folder

if NOT %pass%== YOUR_PASSWORD goto FAIL

attrib -h -s "Compconfig Locker"

ren "Compconfig Locker" Private

echo Folder Unlocked successfully

echo Invalid password

echo Private created successfully

Your steps to create a directory locked with a secret code will be as follows:

  • one of the items in the template of this small utility is the line Your_password, instead of which you must enter your PIN code;
  • save this file, rename it to locker.bat;
  • click on it, the Private folder is created;
  • you need to transfer all the information you need into it;
  • then run the bat file locker.bat again, answer "Y » to the question “Are you sure you want to lock the folder”, and the directory with your information will become invisible;
  • To access it you need to run the bat file locker.bat and enter your code.

Create an account with access rights

During installation, Windows OS creates an administrator account that has all configuration and settings rights. For other users of a computer or laptop, it is necessary to create accounts with limited rights. At the same time, you create your own profile with the desktop view, launched programs, documents, pictures, etc. If several people work on the computer, it is possible to create such a user profile for each of them. Each account can be assigned its own access rights to functions, applications, and local network.

Create a shared account

The account with administrator rights created during installation will be the main account on the computer. This will create system files and folders for saving documents, photos, videos, and music. By default, all files saved by the system will be placed in them. All system users who log in under this main account will have general access to all information. If you close the main account with a secret key and create your own accounts for other users, no one will be able to access this information.

Setting the code

A reliable method of protection is to close your account with a password. To do this you need:

  • click Start->Control Panel->User Accounts;
  • select the one you need in the list of Accounts;
  • indicate “Create a password”, enter it twice, create a text hint and save;
  • then in the main menu, select the item “Change the order of user login”;
  • uncheck “Use the welcome page”, and when enabled, the classic login will be offered using login and pin code.

Locking a folder with a password

You can restrict access to a directory to other users of a computer or local network using simple procedures with its properties. To do this you need to take the following steps:

  • hover the mouse over the selected object, right-click and select Properties->Security->Edit;
  • then you need to add to the list of local and network users for whom we are closing access;
  • By clicking “Add”, enter the user name in the window and click “OK”;
  • select this user from the list, put a checkmark in the “Deny” column;
  • Click Apply->Ok.

How to encrypt a folder with a password using special programs

Programmers from different countries have created many third-party software products that provide the ability to hide or simply limit access to files, utilities and applications to different users or uninvited guests of your computer. These utilities differ in their graphical shell, design and cost. There are free utilities and paid applications. The choice depends on your preferences. Paid utilities have regular updates that increase the level of secrecy of the information stored with their help.

PasswordProtect USB

Using the PasswordProtect USB utility will provide the ability to quickly and easily hide your confidential files and folders by selecting an item in their properties menu. To do this, after downloading and installing this program, which is compatible with Windows 10, on your computer, you must do the following:

  • hover the mouse over the selected object and right-click to open the menu;
  • press the Lock with Password Protect USB button;
  • in the window that opens, enter the code word twice and confirm your actions;
  • after that, a sign indicating its protection will be visible on the icon;
  • When you try to open it, the utility will prompt you to enter a code.

Folder Lock

The Folder Lock utility is capable of protecting a directory with any information on a PC with Windows 7, 8, 10. To use its capabilities you must:

  • download, install and run the program;
  • enter the PIN code in the text field, click OK;
  • by clicking “Add”, select the desired folder, or drag it into the utility window;
  • After that, it becomes locked and can only be opened using a code.

LocK-A-FoLdeR

This is a free utility, easy to use, suitable for users (newbies) who are not experienced in programming. This utility hides the presence of a folder on your computer. After downloading, installing and running the utility:

  • Use the “Lock a Folder” option to select the desired object;
  • Using the “Unlock selected folder” option, open the directory with passwords;
  • change the main pin code – “Change Master Password”.
  • to open a hidden one, run LocK-A-FoLdeR;
  • Click “Unlock selected folder”, enter the code.

Folder Lock Lite

A paid version of the utility that can protect files and disks is Folder Lock Lite. It has a free trial period of 30 days. Its cost is 39.95 USD. This utility works on the principle of setting a master password, which is entered twice the first time you launch it. After adding files or folders, the utility hides their location on the disk. You can detect their presence by re-running the utility and entering the master password.

Folder Protector

Unlike many other utilities, Folder Protector uses encryption to protect folders. It has paid and free functionality for users with different requirements. After downloading, installing and launching, the steps required for protection are:

  • specify the target directory for blocking access;
  • Enter the secret code twice, click “Protect”;
  • it will be encrypted, an executable file will be created;
  • To decrypt it, you need to run this file from the utility.

Video

On a computer to which several people have physical access, confidential or proprietary information of a specific user can be stored in a certain directory. In this case, in order to ensure that the data located there is not declassified or mistakenly changed by someone, it makes sense to think about how to limit access to this folder to other persons. The easiest way to do this is to set a password. Let's find out in what ways you can put a password on a directory in Windows 7.

You can password-protect a directory in the specified operating system either using special software for assigning a password, or using archiver applications. Unfortunately, there are no proprietary tools specifically designed for imposing a password on a directory in Windows 7. But, at the same time, there is an option with which you can do without third-party software to solve the problem. Now let's look at all these methods in more detail.

Method 1: Anvide Seal Folder

One of the most convenient programs for setting a password for a directory is Anvide Seal Folder.

  1. Run the downloaded Anvide Seal Folder installation file. First of all, you need to select the installation language. As a rule, the installer selects it in accordance with the operating system settings, so here just click "OK".
  2. Then the shell opens "Installation Wizard". Click "Further".
  3. A shell is launched where you need to confirm your agreement with the current developer license agreement. Place the radio button in position "I accept the terms of the agreement". Click "Further".
  4. In a new window you need to select the installation directory. We recommend not changing this parameter, that is, installing it in the standard program storage folder. Click "Further".
  5. In the next window, you can configure the creation of an icon on "Desktop". If you want to observe it in this area, then just click "Further". If you do not need this shortcut, then first uncheck the item “Create an icon on the desktop”, and only then click on the indicated button.
  6. The application installation procedure is performed, which will take you very little time.
  7. In the last window, if you immediately want to activate the application, leave a mark next to the item "Launch Anvide Seal Folder". If you want to launch later, uncheck this box. Click "Complete".
  8. Sometimes running the above method via "Installation Wizard" fails and an error appears. This is because the executable file must be run with administrative rights. This can be done by simply clicking on its shortcut on "Desktop".
  9. A window for selecting the program interface language opens. Click on the flag of the country from the presented options whose language you want to use when working with the application, and then click on the green checkmark below.
  10. The program license agreement window opens. It will be in the previously selected language. Check it out and if you agree, click "accept".
  11. After this, the functional interface of the Anvide Seal Folder application itself will be launched directly. First of all, you need to set a password to log into the application. This must be done to prevent an unauthorized user from entering the program and removing the protection. So, click on the icon “Password to enter the program”. It is located on the far left side of the toolbar and looks like a lock.
  12. A small window opens, in the only field of which you need to enter the desired password and click "OK". After this, you will always be required to enter this key to launch Anvide Lock Folder.
  13. Returning to the main application window, to add a directory that should be password protected, click on the icon in the form of a sign «+» entitled "Add folder" on the toolbar.
  14. The directory selection window opens. Going through it, highlight the directory for which you want to set a password. After that, click on the green checkmark at the bottom of the window.
  15. The address of the selected folder will be displayed in the main Anvide Lock Folder window. To set a password for it, select this element and click on the icon "Close access". It looks like a closed padlock icon on the toolbar.
  16. A window opens where in two fields you need to enter twice the password that you are going to apply to the selected directory. After completing this operation, press "Close access".
  17. Next, a dialog box will open asking you whether to set a password hint. Setting a reminder will allow you to remember the code word if you suddenly forget it. If you want to enter a hint, click "Yes".
  18. In the new window, enter a hint and click "OK".
  19. After this, the selected folder will be password protected, as evidenced by the presence of a closed lock icon to the left of its address in the Anvide Lock Folder interface.
  20. In order to enter the directory, you need to highlight the directory name in the program again and click on the button "To open access" in the form of an open lock on the toolbar. After this, a window will open in which you must enter the previously set password.

Method 2: WinRAR

Another option to password-protect the contents of a folder is to archive it and apply a password to the archive. This can be done using the WinRAR archiver.

  1. Launch WinRAR. Using the built-in file manager, go to the directory where the folder you are going to password-protect is located. Select this object. Click on the button "Add" on the toolbar.
  2. The archive creation window opens. Click on the button there "Set password…".
  3. A password entry shell opens. In two fields of this window you need to alternately enter the same key expression, with which you will open a folder placed in a password-protected archive. If you want to further protect the directory, check the box next to the parameter "Encrypt file names". Click "OK".
  4. Returning to the archiving settings window, click "OK".
  5. After archiving is completed, resulting in a file with the RAR extension, you need to delete the source folder. Select the specified directory and click on the button "Delete" on the toolbar.
  6. A dialog box opens in which you must confirm your intention to delete the folder by clicking the button "Yes". The directory will be moved to "Basket". To ensure complete confidentiality, be sure to clean it.
  7. Now, in order to open the password-protected archive in which the data folder is located, you need to double-click on it with the left mouse button ( LMB). A password entry form will open, where you should enter a key expression and click the button "OK".

Method 3: Create a BAT file

You can also password-protect a folder in Windows 7 without using any third-party programs. This task can be accomplished by creating a file with the BAT extension in the standard Notepad of the specified operating system.

  1. First of all, you need to launch Notepad. Click the button "Start". Next, select "All programs".
  2. Navigate to folder "Standard".
  3. A list of various programs and utilities opens. Select a name "Notebook".
  4. Notepad is running. Paste the following code into the window of this application:

    cls
    @ECHO OFF
    title Secret folder
    if EXIST "Secret" goto DOSTUP
    if NOT EXIST Folder goto RASBLOK
    ren Papka "Secret"
    attrib +h +s "Secret"
    echo Folder locked
    goto End
    :DOSTUP
    echo Vvedite cod, chtoby otcryt catalog
    set/p "pass=>"
    if NOT %pass%== secretnyj-cod goto PAROL
    attrib -h -s "Secret"
    ren "Secret" Papka
    echo Catalog uspeshno otkryt
    goto End
    :PAROL
    echo Nevernyj code
    goto end
    :RASBLOK
    md folder
    echo Catalog uspeshno sozdan
    goto End
    :End

    Instead of the expression "secretnyj-code" enter the code expression that you are going to install on the secret folder. It is important not to use spaces when entering it.

  5. Next, click on the item in Notepad "File" and press "Save as…".
  6. A save window opens. Go to the directory where you intend to create a password-protected folder. In field "File Type" instead of option "Text files" select "All files". In field "Encoding" select from the drop-down list "ANSI". In field "File name" enter any name. The main condition is that it ends with the next extension - ".bat". Click "Save".
  7. Now with the help "Conductor" move to the directory where you placed the file with the BAT extension. Click on it LMB.
  8. In the same directory where the file is located, a directory called "Papka". Click on the BAT object again.
  9. After this, the name of the previously created folder changes to the name "Secret" and it automatically disappears after a few seconds. Click on the file again.
  10. A console opens in which you can see the entry: “Vvedite code, chtoby otcryt catalog”. Here you need to enter the code word that you previously wrote down in the BAT file. Then click Enter.
  11. If you enter the wrong password, the console will close and you will need to click on the BAT file again to launch it again. If the code was entered correctly, the folder will be displayed again.
  12. Now copy into this directory the content or information that you want to password protect, naturally, subsequently deleting it from the original location. Then hide the folder by clicking on the BAT file again. How to display the directory again in order to access the information stored there has already been described above.

As you can see, there is a fairly wide range of options for password-protecting a folder in Windows 7. To do this, you can use a number of programs specifically designed for these purposes, use archivers that support data encryption, or create a BAT file with the appropriate code.


Product Description. Comparative characteristics of Office 2003 / 2007.


Review of new and useful programs for your PC! Stay up to date with new products!


Program for recording a conversation on Skype


OS


Tired of Vista? We'll help you upgrade to XP!


Installing an operating system is quite a complicated thing and requires special skills and experience, but still, if you decide to do this personally, then the craftsmen from Microsoft have already helped you with this.


Is it possible to install Windows on a Mac and why is this service attractive?


The vast majority of modern computer users do not even imagine the existence of a huge variety of operating systems that are a full-fledged alternative to Windows.


Instructions for installing Windows on Apple computers yourself.


Help installing Windows 7 on a Mac using a virtual machine. Now you don't have to reboot between Mac OS and Windows 7 systems!


Instructions for adding Russian language to Windows Server 2012/2016


Instructions for fixing the error with double keyboard layout switching in Windows 7


Safety


Simple rules that will help protect your computer from malware.


For an ordinary user who has set out to secure their computer with a reliable antivirus, even after Googling it is difficult to figure out what to install?


Nod 32 has held the title of best antivirus of the year for five years in a row.


You can unlock your computer from the banner in various ways. Here are the simplest and safest methods to combat this type of virus.


Review of today's popular antivirus products (Avast, Avg, Kaspersky and Nod32)


Now no one will have access to your data except you!


Internet and networks


Which router should you choose? Where to install the access point? Selecting a tariff and provider.


In this article I will tell you about the convenience of IP telephony and its advantages over regular telephone communication.


What makes this internet browser attractive and more.


Despite the dominance of various world currencies, humanity has invented another type of money - electronic.


If you are lucky enough to become the owner of a brand new laptop, then there can be no question of wires!


The most popular router models


At the moment, an increasing number of Internet users are resorting to using equipment such as a Wi-Fi router.


The 3G standard in Russia has not yet exhausted even half of its resources - the network is growing and developing.


Computers - hardware


Selecting a computer, selecting a configuration


Today, technologies built into hard drives register the presence of specific faults.


Your computer won't turn on, freezes, or reboots on its own? Some tips for troubleshooting and, in the future, preventing this from happening.


Laptops are the same as computers, which means that the problems associated with regular computers can be extended to them.


This article discusses the steps of setting up a computer for novice users who have just purchased this miracle of technology.


To choose the right keyboard and mouse, you must decide exactly what you want to use your computer for most: for office work, for games, for surfing the Internet, for watching movies and listening to music, or do you want to do a little of everything.


Is your computer noisy and overheating? Save him!


The new hard drive using SSD technology allows the operating system to boot 5 times faster, and the information processing speed is several times faster


What could be the main reasons why your laptop fails?


Surely all users have encountered the problem when the laptop does not turn on. However, not everyone knows what to do in such a situation. First of all, we need to identify the root of the problem.


The article discusses the 6th stage of accelerating a PC on Windows OS without using special programs, i.e. system functionality.


What makes a laptop noisy? The main causes of increased noise and ways to eliminate them.


Useful tips for beginners and amateurs. Review of the best latest models!

Hello, dear readers of the blog site. For some reason, there are no built-in tools in Windows that would allow you to block access to a folder for those who do not know the password to access it.

At the same time, this simplest method comes to mind for any user of this operating system. keep some of your data confidential- just put a password on the folder where the “hidden” documents (files or other directories) will be stored.

Well, really, what could be more logical than to password-protect access to a certain directory and put there everything that you would like to protect from prying eyes (spouse, children, hackers, competent authorities, etc.). There may be many goals, but the solution seems obvious - make a kind of safe out of any folder, the code for which only you will know (and how to come up with it, read the article).

How to set a password for a folder after archiving it

However, there are still no simple solutions to this problem (using tools built into Windows). More precisely, there are a number of methods that do not guarantee any confidentiality, but only provide “fool protection”. It doesn't make much sense to rely on them. In this same publication I want to focus on a way to make a safe of the highest security category from any catalog, but for this you will have to install an additional program in the OS.

It was originally built on open source and a priori () did not contain bookmarks that would allow developers to access your password-protected data. Unfortunately, the developers have now sold themselves to BitLocker, whose products are already closed source, which means your password folders can, if desired, be opened using backdoors. However, TrueCrypt can still be found and used for your purposes.

But first, I’ll give you an easier-to-use, but less reliable method (the competent authorities and specialists will be able to hack the directory, but your relatives and friends will not). It lies in the fact that the necessary the folder can be archived with a password, so that a person who does not know it would no longer be able to carry out the unzipping process.

You are all probably very familiar with archivers. Among them there are both paid and free versions. But in addition to its main functionality - creating archives to save disk space and speed up data transfer over the Internet, modern archivers allow you to encrypt archived data and protect it with passwords. It is this opportunity that we will take advantage of.

Let's try to archive a folder and put a password on it, first using the example of a free archiver (7-Zip), and then using the example of a paid one (WinRAR), which, however, is installed on almost all computers. I think that you have at least one of them, and if not, you can always install them by going to the official websites of the developers of these programs ().

How to archive and password protect a directory in 7-Zip

So, if you have an archiver installed on Windows 7-Zip, then in order to archive any folder (or a set of files and directories) in it, it will be enough to right-click on it and select “7-Zip” - “Add to archive” from the drop-down context menu:

As a result, you will see the archiving settings window, where, in addition to other settings, you can set a password to access this archive, or rather, encrypt the entire contents of the folder (while archiving it), and this code will be the key to decryption.

A feature of “archiving with a password” of directories via 7-Zip is that you can enter the created archive (folder) without entering a password, and when you try to open any file you will be required to enter it:

If you want to password-protect access not only to the files in this directory, but also prohibit viewing the contents of this folder without entering a password, then simply check the “Encrypt file names” box in the archiving settings window (second screenshot from here). After this, when you try to view the contents of the archive, a prompt to enter a password will pop up.

How to set a password when archiving a folder in WinRAR

You can also use the capabilities of the second of the archivers mentioned above to simultaneously archive and password protect a folder - WinRAR. As I already mentioned, it’s paid, but for some reason in RuNet they don’t really take it into account.

If WinRAR is already installed in Windows, then simply right-click on the directory where you want to set a password and select “Add to archive” from the context menu:

In the window that opens, go to the “Advanced” tab and click on the “Set password” button:

Here you will be asked to create and enter a password, which will become the key to your archived folder, and you can also check the “Encrypt file names” box so that no one can view the contents of the archive without entering the password (we already talked about this a little higher):

After that, click OK twice and try to enter the created archive using the password you created. If everything worked out, then you can delete the original folder, the contents of which need to be hidden from prying eyes. And as needed, you will simply log into this archived and password-protected folder. It's a little stressful to have to enter your password all the time, but security requires sacrifice. IMHO ()

How to put a strong password on a folder using TrueCrypt

As I mentioned just above, there are various programs that allow you to implement an idea that is so obvious to Windows users - to block access to a folder using a password. There are quite a few such programs (for example, Folder Lock, DirLock, Anvide Lock Folder, File lock, Lim LockFolder, etc.), but a user who understands computers will most likely be able to bypass them. Therefore, if you want to hide something from your household or work colleagues on your computer, then they will suit you just fine.

But often something more radical is required, when hacking a password-protected folder will require monstrous efforts and computing power, which will naturally deter most potential hackers. This type of tool includes the TrueCrypt program, which allows you to set a password not only for a directory, but even for the entire computer (to completely encrypt the system partition, if you need it).

I have already written in some detail about working with her:

Unfortunately, today the developers no longer release new versions of the program, because they switched to working in BitLocker (Microsoft), but you can download TrueCrypt one of the latest versions via this link. In any case, it works great for me.

Let me explain a little what “put a password on a folder” means in TrueCrypt, because this is somewhat different from the options discussed above. In this program, you create a container from any file that is on your computer and has just been created.

It will be very difficult to discover that it is a container for something, and besides, inside this container (actually a folder with files and other directories) you can create a hidden container, which certainly no one will guess about. Hackers very actively use this program to hide, for example, their correspondence, because it is difficult to even find corrupted (encrypted) information, not to mention hacking it.

So, this very container is encrypted and decrypted on the fly (you won’t even notice it) and you can work with it as with a regular directory (even more like with a portable hard drive or flash drive, because this password-protected folder is connected in Windows exactly as a new virtual disk).

That. it will be possible to copy something there, delete it, transfer it using standard operating system tools (via Explorer or, for example, Total Commander).

At the end of the work, you simply unmount the virtual disk, and no one will be able to access your data (who does not know the password). Wonderful thing.

For all the details of working with TrueCrypt for setting passwords on a flash drive, folder, or even the entire computer, see the links given just above. And remember that absolute protection does not exist (you can provide the password yourself under pressure), but among all other methods of data protection, this program is one of the most optimal options. IMHO.

Good luck to you! See you soon on the pages of the blog site

You might be interested

TrueCrypt - how to put a password on a folder or computer, as well as password and encrypt a flash drive
File - what is it and how to configure file in Windows My username and password - what is it, how to create it correctly and store it safely
Dropbox - how to use cloud data storage, as well as working with the Dropbox program on a computer and mobile
KeePass is a complex password manager and generator, as well as the best program for storing and conveniently using passwords How to search the contents of files in Total Commander
How to convert a Word document (doc) to a PDF file, as well as convert it to FB2



tell friends