Skip to content

How to put the password to PC folders

Rate this post

How to put the password to PC folders: You have started storing important data on your computer and would like to be sure to keep it away from prying eyes, without however setting complex blocks that can slow down your work. For this reason you are thinking of  putting the password to the PC folders  but, being impractical with computer science, you are afraid that your knowledge is not enough to achieve the goal you have set yourself.

Well, I’m happy to tell you that you have nothing to fear because, with the advice I will give you in this guide, you will be able to protect your computer’s folders even without having advanced knowledge in technology, and you can do it both on Windows and on  macOS  and  Linux  completely free. All you have to do is sit quietly, take some free time and carefully read the following lines: I guarantee that, without realizing it, you will learn to apply the right protection to your important data and keep indiscreet eyes and hands away from your most important data.

Before getting to the heart of the tutorial, however, I want to make you an important recommendation: choose a secure password that cannot be guessed easily by other people (for example, avoid using your date of birth or other such simple information), and write it down in a safe place so you don’t forget it: in most cases, losing your password means you can’t access protected files anymore, always keep it in mind!

Put the password to the PC folders on Windows

How to put the password to PC folders

As for the Windows operating system  , the solutions you can rely on to put the password to the PC folders are manifold: the simplest solution is undoubtedly the creation of a compressed archive protected with a dedicated program, which can be accessed by typing the password if necessary choice. Other solutions, however, include the installation and configuration of tools that allow you to  encrypt  and  protect files and folders.

Each of these methods has its pros and cons: for example, there are special programs that can “force” the passwords set to protect the compressed archives, which is why there is a probability of recovery even in case of lost password. Programs to protect folders after encrypting them, however, are more difficult to bypass but require a bit longer configuration. It’s up to you to choose the method that suits you best!


7-Zip - Creation of compressed archive

7-Zip is a well-known program for creating  compressed archives , which allows you to set a password to be typed when opening the files created with it. How to use? I’ll explain it right away. First, go to the 7-Zip website  and press the Download link  corresponding to the wording  exe , based on the version of your operating system ( 32 or 64 bit ), which you find in the table above. Then, start the downloaded file and press the YesInstall and  Close  buttons  to complete the setup.

Now, to protect a folder, right click  on it and select the  7-Zip> Add to archive …  item from the menu that opens. The next window allows you to set the parameters for creating the archive: then choose the type of compression you want to apply from the Format menu  of the archive ( 7z or  zip , since the others will not allow you to protect it), enter the password you want use to protect the archive in the Enter password and  Re-  enter password boxes  (choose a safe one, I explained how to do it in my dedicated tutorial ), select the  AES-256 itemfrom the drop-down menu  Cryptographic method , finally affix the check mark on  Encrypt the names of the files and presses the OK button  .

Once the procedure is completed, double-click on the newly created archive to open it, enter the password to extract it and check that all the files are in their place. At this point you just have to  delete the original folder  containing the unprotected files: holding down the Shift key  , right click on its icon, select the Delete item   from the contextual menu and answer  Yes to the  warning that appears on the screen. It wasn’t difficult at all, was it?


VeraCrypt for Windows

Another very useful program for securing PC folders is  VeraCrypt : it is a software that, in just a few clicks, allows you to create real password protected “volumes”, to be opened and modified exactly as if they were external disks or sticks USB.

To download the program, connected to the dedicated website , click on the Download button on the  right and then on the item  VeraCrypt Setup xx.exe which you find next to the Windows icon  . Now start the exe file you just downloaded and press the Yes button  , put a check mark on the  I accept the license terms box and, to complete the installation process, first click on the Next  button  twice in succession and then on  Install, OK , Finish  and  No . At this point, start the program by calling it from the desktop or from the Start menu  /Start Screen , click on Settings> Language , choose the Italian option  and finally click OK .

To start the creation of the protected “folder”, click on the  Create a volume … button , put the check mark in the  Create an encrypted container file box , press the Next button  and select the  Volume CeraCrypt Standard item . Click the Select file … button  and choose the folder in which to save the new volume, give it a name by typing it in the appropriate box and click on the Save and  Next buttons  .

In the next window, choose the encoding and “confusion” algorithms (you can safely leave the default options  AES  and  SHA-12 , if you don’t know what it is), press the Next button  , specify the  maximum size that your volume must have and select the unit of measurement (KB, MB, GB or TB) using the appropriate boxes and click on  Next .

Now the time has come to choose a  secure password that you can easily remember: type it in the Password and  Confirm boxes  (you can set the check mark on the Show Password box  if you want to make sure that the entry has been correct) and click on the Next button  .

Then you have to choose “how” your folder must behave as regards saving the files (therefore the file system to be used for your volume): if you intend to save files larger than 4 GB  (e.g. films or ISO images), select the Yes box  , press the Next button  and select NTFS from the File System drop-down menu   in the next window, otherwise select the No box  , click the Next button  and choose the FAT item  from the drop-down menu.

At this point, generate a strong coding key by  moving the mouse randomly in the program window until the bar turns  green , finally click on the Format button  and, when the procedure is complete, on the YesOK and  Exit buttons  .

Accessing the newly created volume is very simple: open  VeraCrypt , select one of the drive letters from the appropriate section (eg  G:) , click on the Select file … button  and choose the protected volume created previously. Then press the Mount button  , enter the password in the appropriate field and click  OK . If everything went in the right direction, you can access your “protected folder” directly from the  Computer or  This PC sectionWindows: double click on the drive letter of your choice and manage the files inside exactly as if it were a USB stick or an external disk. This means that you can copy files, rename them, move them from one folder to another and so on.

Once your work is done, to unmount the volume and lock it, simply open the main VeraCrypt screen, select the chosen unit and press the Unmount button  .

Put the password to PC folders on macOS

Do you own a Mac and would like to password protect your folders? Don’t worry, it’s possible and quite simple too! Below I will explain how to install VeraCrypt also on the Apple operating system and, in the next section, how to use the Disk Utility   to create encrypted volumes.


As I have already mentioned, one of the solutions you have available is  VeraCrypt , the program seen above for Windows. Before proceeding with the actual installation, however, you must equip your operating system with the FUSE for macOS application  : to proceed connected to its website , press the FUSE for macOS xxx icon  on the right and wait for the program is downloaded to your computer.

Once the download is complete, open the file, double-click on the Fuse for macOS icon  , press the Continue button three times  , then on  AcceptContinue and  Install , type when prompted for your password, click on the Install software button   and then on the Ok  buttons and  Open Security & Privacy System Preferences . At this point, click on the Allow  button  at the bottom, close the System Preferences window  press the Close button  in the FUSE installation window and finally on the Move button .

Now you can proceed with the installation of VeraCrypt: connected to the dedicated web page and click on the link  VeraCrypt_x.xx.dmg , wait for the file to be downloaded to your computer, open it and double-click on the VeraCrypt_installer.pkg icon  . At this point, press twice on the Continue button  , then on  Accept  and  Install , enter your password when requested and press the Install software , Close and Move buttons again  .

Finally, recall VeraCrypt from the Applications folder  of your Mac and use it exactly as I explained in the section dedicated to Windows, replacing the  Finder with  Computer / This PC  and the disk number at the drive  letter . However, I must warn you that, in this case, the program is only available in English.

Disk Utility

Disk utility - macOS

If you believe that the procedure with VeraCrypt is too long, do not intend to install third-party programs on your computer or do not chew English very well, know that you can obtain a very similar result by using the Disk Utility already present in your operating system. computer. What you need to do is create an encrypted volume (therefore password protected) and save all the files you want to protect inside.

To proceed, start Disk Utility from the Applications> Utility folder  of your Mac or by calling it from the Other folder  of the  Launchpad , click on the File item  that you find at the top left, then on the items  New Image> Empty Image … , then set the menus as I show you below.

  • Save with name  and name  – type the name you want to assign to your volume.
  • Located in – choose the location to save the volume and its data.
  • Dimensions – set here the maximum size that your archive can reach, according to your needs.
  • Format – select the Mac OS extended (journaled ) entry .
  • Partitions – select  Single Partition – Apple Partition Map .
  • Image Format – select  Disc Image Sparse Bundle .
  • Encoding – select the 128-bit AES entry  .

After selecting the type of encoding, type the  password with which you intend to protect your volume in the Password field  and enter it again in the Verify field  , then click on the ChooseSave and then  Finish buttons  .

After completing the procedure, go to the location where you saved your “protected folder”, open it by  double-clicking on it and type the password you have set in the box provided, then click on the OK button  .

At this point the encrypted volume is opened in the  Finder , you can manage it exactly as you would for an external disk or a USB stick: for example, with a simple  Cut / Paste operation you can move the files inside it, you can rename them, create new folders , move files from one folder to another, and so on. When you are finished, remember to unmount the volume by clicking on ⏏ at the volume in the sidebar of the  Finder , or by right-clicking on the icon located on the desktop and selecting the Eject  item  from the menu that opens. Simple, right?

Put the password to PC folders on Linux

Do you use the Linux operating system ? Don’t worry, putting the password to PC folders is not difficult even in this case: just know the right tools! First of all, I want to tell you that you can use  VeraCrypt for the creation of encrypted volumes, in the same way as I explained in the section dedicated to Windows. If you are looking for something more specific, I suggest you turn to the open source EncFs program  , which allows you to create an encrypted volume in which to save all the files to be protected.

To install it on Ubuntu, open a  Terminal by calling it from the GNOME Activity view or from the  Unity Dash , type the command  sudo add-apt-repository ppa inside it: gencfsm  followed by Enter , enter the administrator password followed by Enter , then type the command  sudo apt-get update && sudo apt-get install gnome-encfs-manager , press Enter, then  S and twice  Enter , and finally close the terminal once the installation procedure is complete. Do you have another distribution? No problem: you can find dedicated packages on this website .

After completing the installation procedure,  restart your computer and call the program from the application list of your operating system. Crushing and on the green button  + from the header, type the password chosen in the fields  Enter password : and  Re-enter password : , then click on the  Create and wait for the confirmation message. Note: you can customize the name of the encrypted volume or the mounting point by placing a check mark on the appropriate boxes and typing the desired parameters in the fields.

Now, to access the newly created volume, double click on the icon on the desktop or in the left sidebar of  File . You can use the encrypted volume exactly like an external disk or a USB stick: you can move the files to be protected inside with a simple  Cut / Paste operation .

When you are done,  unmount the protected volume by clicking on  corresponding to it in the File sidebar, or right-click on the icon on the desktop and select the Eject item from the menu that opens.

To mount your protected “folder” again, click on the folder icon  with key in the top panel of GNOME, select the name of the archive you wish to mount and, when requested, enter the password. Easier to do than to say!