09.09.2024
Home / News / Is it possible to set a folder with a password? How to put a password on a folder or file on your computer. Create a shared account

Is it possible to set a folder with a password? How to put a password on a folder or file on your computer. Create a shared account

IN this material We will figure out how to password protect a folder on a computer running Windows. It must be said that this system does not have its own function for setting a password for individual files and folders, but when working with a computer, sometimes it becomes necessary to hide the contents of a certain folder from prying eyes.

This is especially true when several users work on one PC under one (family members, colleagues at work, etc.), when high degree the likelihood that your information, which is undesirable for outsiders to see, will sooner or later be viewed by them.

Although by means operating system and it is possible to restrict access to information, for example by creating accounts with limited privileges, but there are often situations when it is only justified to password-protect one or several folders, for example, when transferring a flash drive to other hands, which contains personal data along with publicly available data. Naturally, it is better to hide personal information. The easiest way to do this is using third-party programs.

How to set a password for a folder or file using an archiver

Let's consider this operation by example free archiver 7-ZIP, which can be downloaded from here. Download and install this program, which is considered one of the most effective data tools with strong encryption. Archive the desired folder or file with a password set, according to the following instructions:

When you double click on the file, a password entry window will appear, after it correct set the folder will be opened in the archiver window, where you can view the files, change or delete them.

Perhaps, when you first work with an archive folder, it will not open by double-clicking on it in the 7Zip program, then establish an association of the file with this program by right-clicking on the file name, selecting from the menu .

In the window that opens, select 7-Zip File Manager, if it is not available, click on the button Review and select the program's executable file in Explorer. Don't forget to check the " Use the selected program for all files of this type"so that in the future the password-protected folder can be opened by double-clicking immediately.

Important! Create a strong, but at the same time easy to remember password. How to do this is described in the article “”. If the password is forgotten, access to the folder will be lost forever!

The considered method is attractive because the user receives two functions in his system for free: protecting confidential data from prying eyes and archiving information for backup.

In addition to this method, the folder can be password protected using specialized programs, of which a sufficient number have been developed. Unfortunately, most of them are in English, so it is worth considering one of the few free Russian-language programs of this type - Anvide Seal Folder.

First of all, you need to download the program from the developer’s official website and install it. During installation it will offer to install additional services search engine Yandex, which you can opt out of by unchecking the appropriate boxes.

By launching Anvide Seal Folder, you can add the folder or several folders required for password protection by clicking on the + icon in the program toolbar.

Next, right-click on the folder name in the list of added ones in the program window, bring up a menu where you select “ Close access"and set a password for the selected directory. Thus, you can set different passwords for folders by selecting them one by one.

You can also password-protect all directories added to the list with one password by selecting “ Deny access to all folders».

Anvide Seal Folder is simple and intuitive for anyone, even a novice computer user. The only requirement is the need to unlock protected folders when updating the program.

Choose any way you like to password-protect a folder, each of them will help you keep your personal information intact.

Share.

There are many tricks on how to put a password on a folder in Windows 7.

The task can be completed using special programs, which can be either paid or free. For example, such as Anvide Lock Folder, Lock-a-Folder or Lim Block Folder.

It would be useful to recall here that everything free apps when downloading them, you should check them on services such as Viructotal.com.

It is also possible to protect a folder with a password in Windows 7 using an encrypted archive.

All popular archivers, such as WinZIP, 7-zip, WinRAR, allow you to set a password for the archive, as well as encrypt the contents of the folder.

How to set a password for an archive

This method is absolutely reliable, because the files will be truly encrypted, unlike using applications where you simply set a password for the folder.

So, using the example of using the 7-zip archiver, we select the folder that needs to be password protected. You can call it whatever you want. Right-click on the created folder and find the item in the context

A window of the same name opens. Select a section in it Encryption, in the fields of which we enter the invented password And be sure to check the checkbox Encrypt file names.

Checkbox Show password it is not necessary to put. Click Ok. A new archive is created. Now, when you try to log in, the archiver requires you to enter a password.

If this password is unknown, then you will not be able to get into the archive, even through the menu Extract files.

Anvide Lock Folder App

A password is set to start the program, you need to enter it and the program window will appear.

Now, to password protect a folder, you just need to take it and drag it into the program window.

Then you need to click on it and press Padlock. In the form that appears, enter your password and click Close access.

You don't have to include a password hint. That's all, the folder is under a password.

You can also not transfer it to the program window, but click the icon + and select it on your computer.

If you open Explorer now, you will notice that the folder under the password has disappeared, it is simply not visible. It disappears from the user's eyes.

To return it to Explorer, you need to click on it in the program window and unlock it. The folder will appear again in Explorer.

Using Lock-a-Folder

Lock-a-Folder is free and open source. Installs and hides it from prying eyes from Explorer or from the desktop.

The utility does not have a Russian language, but is very simple and easy to use.

To password protect a folder, you need to follow simple instructions:

  • Download and install the program
  • Set a master password upon initial launch, which will also be the folder password.
  • Add folders that require locking to the list in the main window.
  • To unlock, you need to run the program again, select a folder from the list and click UnLock.

The program is free in Russian, easy to use and recommended for use. Website: maxlim.org. It works similar to the previous one.

Password for a folder using standard Windows 7 tools

There is another way to password protect a folder in Windows 7 without using any third-party programs.

To do this, select the folder that requires protection and go into it. You need to create one document in the folder using the standard notepad included in Windows 7.

We follow the path - Start - All Programs - Accessories and open WordPad.

In the document that opens, paste a small code with the following content:

_______________________________________________________________________

title Folder Private

if EXIST "HTG Locker" goto UNLOCK

if NOT EXIST Private goto MDLOCKER

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

set/p "cho=>"

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 "HTG Locker"

attrib +h +s "HTG Locker"

echo Folder locked

echo Enter password to unlock folder

set/p "pass=>"

if NOT %pass%== PASSWORD_GOES_HERE goto FAIL

attrib -h -s "HTG Locker"

ren "HTG Locker" Private

echo Folder Unlocked successfully

echo Invalid password

echo Private created successfully

____________________________________________________________________

In the line of code, instead of PASSWORD_GOES_HERE (blue text), you need to add your password, for example, 12345.

The files that need to be saved should be placed in this folder. These can be documents, videos, etc.

After this, left-click on the locket file again, it opens command line,

in which you need to confirm your intention to password-protect the folder, after which the Private folder disappears from the screen.

Now, if an outsider wants to see what is in this folder, he will not be able to do this, because the folder is hidden and password-protected.

If an attempt is made to open the locket file, a command prompt will open and ask for a password. If the password is entered incorrectly, nothing will happen.

If you enter the correct password, the folder will appear. Documents can be opened and worked with. Then you can password-protect the folder again.

In these ways, you can put a password on a folder with any content so that no one but you can view them and interfere with your privacy.

When using a computer, some users wonder how to put a password on a folder on the computer. And it’s kind of natural, everyone has their own secrets.

At the request of a friend, I decided to figure out how this could be done. Yes at the moment There are many ways to set a password for a folder! And I was convinced of this as soon as I started looking for a convenient and easy way. In this article I want to talk about some of the methods. I hope you find it useful.

The most interesting thing is that most people use the WinRar archiver to put a password on the folder, in the article we this method Let's consider.

How to put a password on any folder using programs

In the process of searching for a suitable option to set a password for a folder, I went through many programs, but I would like to talk about a few that really deserve attention and use.

Free Anvide Seal Folder in the past Anvide Lock Folder

This program deserves special attention because... she can not only set a password for a folder, but can also . In order to use its capabilities you need to download and install it.

After you have downloaded and installed it, a shortcut will appear on your desktop, launch it. A small program will launch, which copes with its functions with a bang.

The program interface is convenient and friendly, but let's figure out how it all works. To set a password for a folder, you need to drag the folder into the program or click on the plus and select from the list. In the program window, go to the folder and click on the lock icon, enter the password you created 2 times, then "close access", sim-salabim and the folder disappeared.

During the password setting process, the program will prompt you to enter a hint; you don’t have to enter it, but don’t forget the password you set.

To access the folder, you need to run the Anvide Seal Folder program, select the desired folder, click on the icon "open lock", enter the password, the folder will appear and access will be granted.

The interesting thing about the program is that after setting a password, even an advanced user will not be able to find your data, even when booting from another operating system. The only note is that the program is not designed to protect confidential information, for private use only.

Attention! Before reinstalling windows Don't forget to open access to all folders to avoid data loss!

To start and make changes to the program, you need to set a password, to do this, click the mouse by the "code lock" button on the left side of the program, and enter your login password.

The program has several useful options, to do this, go to the settings, click on the "wrench"

To do this, in the program settings go to “Basic Settings”, and check the boxes - “Close access to all folders after exiting the program”. “Forcibly close access to folders”, this function will be needed in cases where, when access to the folder is closed, the file is occupied by another application, the program will forcefully close it.

To make this function available to you you need to click on the “Configure” button and indicate installed program "Unlocker"(by default, the program is installed in the C:\Program Files\Unlocker directory, and select the program file Unlocker.exe).

How to set a password for a folder using Lock-A-Folder

Another interesting program for setting a password on a folder and hiding it, meet Lock-A-Folder. Please keep in mind that this software is not intended to restrict access to confidential information.

This program does not use encryption when setting a password for a folder, and also hides the folder from prying eyes, this is what makes it interesting. You can enable the Russian language in the program. The interface is clear and convenient.

Download Russian.ini copy this file to the program folder C:\Program Files\LocK-A-FoLdeR\Lang

After downloading and installing, launch it. When you first launch the program, you will receive a message about the need to create a master code or, in other words, a password to enter the program. Click OK and enter the password, repeat the password, enter the program. In the program at the bottom right from the drop-down menu Choose a language – Russian (Russian), for easier use of the program.

To set a password for a folder using Lock-A-Folder you you need to click on the “Lock folder” button, then select the folder to set the password and hide click OK, after selecting, the folder will appear in the list and disappear from the selected location.

You can do the same with other folders. Hidden folders are not displayed by the program when enabled. windows functions.

In order to unlock and the folder appears, you need to run the program, you need select a folder from the list And click on the “Unlock folder” button

Uninstalling the program if the folders are locked will not be possible until you enter the password to access the program. By deleting the program, all hidden folders automatically become visible and restrictions are removed from it. The program allows you to put a password on a folder and hide it in Windows XP, 7, 8, 8.1.

How to set a password for a folder without programs using a script

On the Internet I came across many scripts for this purpose, but none of them provided security. Programs work on the principle of this script to set a password for a folder. It is based on the same password for hiding a folder from the computer, BUT in many scripts, when you enter a password, the folder is hidden, and when you enable the function in windows, the folder is visible. In the same script, everything works as expected.

Let's figure out how to set a password for a folder without programs.

Step 1. Copy the text of the future script:

Select all text, right-click on the selection and select copy

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=>" if %cho% ==Y goto LOCK if %cho%==y goto LOCK if %cho%==n goto END if %cho%==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=>" if NOT %pass%== 12345 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

@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=>"

if % cho %= = Y goto LOCK

if % cho %= = y goto LOCK

if % cho %= = n goto END

if % cho %= = 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=>"

if NOT % pass %= = 12345 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

The line to set a password for the folder is if NOT %pass%== 12345 goto FAIL (12345 is the default password, here you enter your password)

Step 2. Open notepad Start > All Programs > Accessories > Notepad, or just write in the search bar notepad and click on it as shown in the picture.

In the window that opens paste (Ctrl+V) the text copied earlier and save. Click File > Save As, select file type – All files, and the file name is any, adding at the end .bat, choose a location for the file, I save it to the desktop and click Save.

The file will appear on your desktop or in the location you specify.

Example: It should look like this - lock.bat

Run lock.bat, if you did everything correctly, the folder will appear - Privat. In this folder you copy anything that you wanted to set a password for and hide. Run the script file again, a window will open in which the script will ask, "Are you sure you want to lock the folder", must be entered to confirm the action, in English Y (Yes - Yes), press Enter. We click refresh on the desktop, the folder disappears.

Since our script file is on the desktop, the folder will appear on the desktop and disappear from the desktop.

For that for the folder to appear, run our script file lock.bat, enter the password which you entered in the line and press Enter, the folder appears. That's it. A simple way to set a password for a folder without programs.

The script file must be stored separately from the place where you set a password for the folder and hid it. The only inconvenient thing about this script is that you need to copy the script file back, and only then run it and enter the password. But I think these are minor things.

Set a password for a folder using the archive and the WinRAR program

Most PC users have a program for working with archives, as it is recommended software for convenient work on the computer.

Using WinRAR, you can easily set a password for a folder, but you will have to archive it. And every time you use a folder under a password, you will have to unpack the archive itself, this is a little inconvenient, but if the folder is not large size, then these are trifles.

But this method has its place, and it is effective and popular, and this method can also be considered how to set a password without third-party programs.

Let's look at the process with an example.

Right-click on the folder you are going to set a password and select from context menu "Add to archive..." In the program window that opens, click "Set password"


Enter the password twice, or once when checking the box "Display password as I type". After entering the password, click "OK", in the next window "OK" again, an archive with a password will begin to be created. If you check the box "Encrypt file names", then when you try to view the contents of the archive, you will not see anything. Sometimes this function is useful, so take it into account.

To access the archive folder and file, you need to unpack the archive, right-click on the archive, select "Extract to current folder" or " Extract to .....”, enter your password, then OK.

The most important thing is not to forget the passwords to the archives; if you forget the password, it is extremely difficult to retrieve data from such an archive.

Greetings to all blog readers. If you do most of your work on a computer where you are not the only one working, then in some cases it is better to protect personal information from unwanted viewing.

How to put a password on a folder or file is the topic of our article today. Unfortunately Windows developers They didn’t take care of such a simple function as the ability to set a password to access data. The maximum that they can offer you is to limit access to data to certain users. But since we are used to working at the computer through one user, this method will not give us anything. How to put a password on a folder?

2 Put a password on the folder 2nd method

Download the program Password Protect.

How to put a password on a folder using - Password Protect. Unpack the archive and run the program. This is a Portable version, so no installation is required.

Unpack one of archives 600kb. Go to the unpacked folder and run the program Password Protect The following window will open in front of us:

Click lock the folders. And select from the list the one for which you want to set a password.

Enter the same password twice and optionally leave a hint in case you forget the password.

All passwords are set. Now, when accessing a folder, you will need to enter a password. This way you can set passwords for any folders. Well, to hide files from prying eyes, place them in a folder with a password.

3 Folder password - 3rd method

We set a password using the popular archiver program WinRar. Since many data have an archiver installed, I will not provide a link to the program. If suddenly you don’t have this program, then just enter download in any search engine WinRar and download the program from the first link.

In this way, we put a password on the archive in which you can store files and other data together. Adding data to the archive

An archive creation window will open.

Go to the advanced tab and click set password. A password setting window will open.

Enter the password twice. Don't forget to check the box - Encrypt file names and press OK.

We are creating an archive. Now, to open the created archive, you will need to enter a password.

One of the winners crossword competition maintains his own blog moneymaker's notes — I recommend checking it out 😉

Well, that’s all, now you know how to put a password on a folder or hide it. Happy holiday to everyone. Good luck!

Windows has no built-in functionality for this task. But you can use free programs from third party developers. Let's take the 7-Zip archiver and the Anvide Seal Folder utility as an example.

Using 7-Zip

7-Zip archives the folder, encrypts its contents and blocks access to it with a password. Surely you are already using this program. If not, then download 7-Zip from the official website. If you prefer another archiver, then most likely you can use it to put a password on the folder in the same way.

After installing the archiver, right-click on the desired folder and select 7-Zip → “Add to Archive.”

In the window that appears, under the “Encryption” item, enter the password and repeat the combination. Check the box “Encrypt file names” and click OK.

After this, the program will create a copy of the folder in the form of an encrypted archive, the contents of which can be viewed only after entering the password. Delete the original folder that remains unprotected.

In exactly the same way, 7-Zip allows you to password protect any selected file.

Using Anvide Seal Folder

If you don't want to mess with the archive, you can set a password directly on the folder itself using the Anvide Seal Folder program. This utility encrypts the contents of selected folders and hides them from prying eyes. Containers protected in this way can only be opened through the Anvide Seal Folder interface after entering the password.

The program is very easy to use. By clicking on the plus, you can select the path to the desired folder or to several containers one by one. After this, a list of added folders will appear in the Anvide Seal Folder main menu. To put a password on one or more of them, just select them, click on the lock and follow the prompts of the utility. You can also set a password to log into Anvide Seal Folder.

On macOS you can do without third-party programs. The system allows you to create a so-called folder image, which is an encrypted copy of it. All files that are saved within this image are password protected.

To create such an image, open Disk Utility (Programs → Utilities → Disk Utility).

Click “File” → “New Image” → “Image from Folder” and specify the path to the folder you want to protect.

Enter a name for the image and indicate the location on your computer where you will store it, as well as the password to access its contents. For encryption, select 128 or 256 bits, and for Image Format, select read/write. Then save the changes.

Open the created image, enter the password and make sure that all files are in place.

Delete the original folder. Now you can use it in a protected way instead.