How to Encrypt a File

You have not yet managed to raise the amount necessary to buy a computer for yourself and so you are forced to share your data with those of your brothers on your home PC: this means that your privacy is practically reduced to zero. It's tough, I know, but don't worry. There is a way to keep your files safe even if your computer is being used by multiple people.

Bravo, I was just thinking of a method to encrypt the documents and make them accessible only after entering a password when opening. If this interests you (and, considering the circumstances, I would say yes!), Then take a few minutes of free time all to yourself, make yourself comfortable and immediately start concentrating on reading this tutorial of mine entirely dedicated to how to encrypt a file.

Together, we will find out how to carry out this type of operation on all the most common types of files: PDF, Word, Excel and so on, not only acting as a PC but also as a smartphone and tablet. In the end, you will see, you will be able to tell yourself very happy and satisfied with what you have learned. Are you ready? Yup? Great. So let's ban the chatter and immediately start getting busy!

How to Encrypt a PDF File

You are interested in understanding how to encrypt a PDF file? Don't worry, you can find all the explanations you need right below, both for what concerns Windows e MacOS what about Android e iOS. It's much simpler than you think, don't worry.

LibreOffice (Windows/macOS/Linux)

The first tool I want to invite you to consider is LibreOffice, the famous open source and zero cost office suite running on Windows, macOS and Linux, which is considered by many to be the best free alternative to Microsoft's Office. Thanks to it you can view, edit and create text documents, spreadsheets, etc. and, of course, also open and edit PDF files, having the ability to protect them with a password.

To download it, go to the program's website and click on the button Scaricate la versione xxx. Completed the download, if you are using Windows, april il .msi files obtained and, in the window that appears, click on the button Run. Then press the button forward, select the option Typical and click the buttons forward e Install. Then complete the setup by clicking on the buttons Yes e end.

Stai using MacOS, april il package .dmg got it, move theLibreOffice icon in the folder Applications, right click on it and select the item apri from the menu that appears. Next, click on the button apri in response to the warning that is proposed to you, in order to start the program by going around the limitations imposed by Apple on applications from non-certified developers (an operation that must be carried out only at the first start).

At this point, again if you are using macOS, go to the LibreOffice website again and click on the button Translated user interface, to download the Italian translation of the suite. When the download is complete, close LibreOffice (using the key combination cmd + q), open the package .dmg just downloaded, right click on the executable LibreOffice Language Pack inside it, select the item apri from the menu that appears and click on the buttons apri e Install. Then select the item /Applications/LibreOffice.app from the window that appears on the screen and click button Install. If you are shown a permission notice, click the button Yes, identify me, type the password of your user account on macOS and click on the button OK per due volte di row.

Afterward, start again LibreOffice, click the menu Open file located in the upper left part of the program screen and select the PDF in relation to which you want to intervene, then go to the menu Fillet (top left), click on the item Export to PDF format and, in the new window that opens, select the tab Safety.

Now, click on the button Set password, type the authorization password and the opening password (in the appropriate fields) and click on the button OK. Finally, adjust the protection options by selecting those of interest to you on the left (by default printing and changes are not allowed), click on the button Export and specify where you want to save the encrypted file on your computer.

Preview (macOS)

If what you are using is a Mac, you can encrypt your PDF files even without resorting to the use of extra tools. In that case, in fact, all you need is Preview, the application included “as standard” in MacOS to open and edit images and PDF files.

To use it for your purpose, first open the PDF you wish to act on by double clicking on its icon. Once opened, click on the menu Fillet located at the top left and choose the item Print. Then click on the drop-down menu PDF located at the bottom left, select the option Save as PDF from the latter and press the button Security options, in the new window that opens.

Finally, select the option Require password to open the document, type the password you want to use in the appropriate fields and click on the buttons OK e Save.

Foxit PDF (Android/iOS)

If, on the other hand, you need to encrypt a PDF file on smartphones and tablets, the best suggestion I can offer you is to use Foxit PDF: this is an application available for both Android that for iOS thanks to which you can view and modify the documents in question, as well as add a password for opening, editing and printing. It is free, but the aforementioned functions are paid and must be unlocked through in-app purchases (at a cost of 10,99 euros / year). However, there is a 7-day free trial period that allows you to evaluate all the features offered.

To download Foxit MobilePDF at Android, connected to the relevant section of the Play Store and tap the button Install. To download it on iOSinstead, access the relevant section of the App Store, press the button Ottieni / Installa and authorizes the operation via Face ID, touch ID o password. Then, open the application by tapping on its icon that has been added to the home screen.

Now, follow the initial presentation of the app by scrolling through the various screens and press the button starts. Then tap the button with the three lines horizontally located at the top left, select the items Documents o Recent from the menu that opens and open the PDF you want to password protect.

Then tap the button with i three dots vertically located at the top right, choose the option Password protect (on Android) or that File encryption (on iOS) and activate the trial version of the app to take advantage of this functionality.

Finally, enable the option Add document restrictions and decide which options to leave active and which, instead, to disable, scroll the displayed screen, type the password you want to use in the field Password and tap the button to confirm everything. Done!

How to Encrypt a ZIP File

If, on the other hand, you want to find out how to succeed in encrypt a ZIP file, there is nothing left for you to do but test the resources that I have indicated in the following steps. There are for Windows, MacOS, Android e iOS.

7-Zip (Windows)

If what you are using is a PC Windows, to create encrypted ZIP files, I recommend that you resort to the use of 7-Zip, the famous free program thanks to which it is possible to generate compressed archives in 7Z, ZIP and other formats.

To download it to your computer, go to the program's website and click on the link Download placed in correspondence with the wording .exe 64-bit x64 o .exe 32-bit x86, based on the version of Windows installed on your PC. When the download is complete, open the file .exe obtained and, in the window that appears on the screen, click on the buttons Yes, install e Close, to complete the setup.

Next, locate the files you want to insert in the ZIP archive to be password protected, select them, right-click on one of them and, in the menu that opens, choose the items 7-Zip> Add to archive.

In the 7-Zip window that is now shown to you, select ZIP from the menu Archive format, type the password you want to use in the appropriate items, select the item AES-256 from the menu Crittographic method, check the box next to the item Crittography and nomi dei files and click on the button OK. The file will be saved in the same location as the source documents.

Keka (macOS)

Keka is specific software for MacOS which allows you to open and create compressed archives in various formats, including ZIP and even with a password. It has a nice user interface, it's easy to use, and it's free. Eventually, however, I would like to underline it, it is available in a paid variant (costs € 3,49) that can be purchased from the Mac App Store to support and reward the work of developers.

To download the free version of Keka, go to its website and click on the button Download vx.x.xx. Once the download is complete, open the package .dmg got it, move theKeka icon in the folder Applications, right click on it and select the item apri from the context menu, in order to open the program going to circumvent the limitations that Apple imposes on applications from non-certified developers (an operation that must be performed only at the first start).

Now that you see the Keka window on the screen, to create a password protected ZIP file do this: select the format ZIP from the drop-down menu located at the top right, type the password you want to use to protect the ZIP file in the fields Password e Repeat and check the box Uses AES-256 encryption.

Finally, drag the files you are interested in to the window displayed, corresponding to the wording Release here to compress and an encrypted ZIP file will be created in the same location as the source items. It was easy, wasn't it?

RAR (Android)

Let's now pass to the side Android. To encrypt a ZIP file in that case, I suggest you use RAR, an application developed by RARLAB, the manufacturer of WinRAR, the well-known program for opening and creating RAR files on Windows operating systems. It allows you to open and generate various types of compressed archives, ZIP files included, complete with a password. It's free, but it contains advertisements that can be removed by signing up for a subscription (at a cost of 1,19 euros / year) after a 14-day free trial.

To download the app, visit the relevant section of the Play Store and tap the button Install. Afterwards, launch the application by selecting its icon which has been added to the home screen.

Once the main RAR screen is displayed, allow the app to access the memory and / or SD of the device in use, by pressing on the item Allow, then press the buttons No, see ADSL that are less relevant e Agree, to disable advertising tracking.

Next, select the files you want to act on and press the button with the compressed archive and the [+] symbol (located at the top). Then type the name you want to assign to the archive in the field Archive name and his bottone award Set keyword.

Type, therefore, the password you want to use to protect the ZIP file in the dedicated field and press on the item OK (bottom right) twice in a row. Once this is done, the protected ZIP file will be created and saved in the same location as the source items.

ZIP & RAR File Extractor (iOS)

If you own a iPhone or a iPad, to encrypt a ZIP file you can use the app ZIP & RAR File Extractor. As the name implies, it is a specific application for iOS that allows you to extract ZIP and RAR files but also to create new compressed archives, both with and without a password. It's free, but offers in-app purchases (at a cost of € 3,49) to remove the ads.

To use it, visit the relevant section of the App Store, press the button Ottieni / Installa and authorize the download via Face ID, touch ID o password. Then, open the application by tapping on its icon that has been added to the home screen.

Now that you see the application screen, indicate the location of the files you want to include in the password protected ZIP archive you are going to genre and select them. Then press the button Edit located at the bottom left, put a check mark next to the file name and tap the button with lcompressed archive, located at the bottom right.

Then select the option ZIP Files with AES Password from the menu that appears, type the name you want to assign to the ZIP file and its password in the fields on the screen and tap the button Save. The ZIP file created will be saved in the same location as the selected files.

How to Encrypt a RAR File

You need to encrypt a RAR file but you don't know which resources to turn to? Then immediately test the ad hoc tools for Windows, MacOS e Android (for iOS, unfortunately, there are no solutions of this type) that I have reported to you below.

WinRAR (Windows)

Che che stai using è a PC Windows, to password protect RAR archives you can rely on WinRAR, the famous software for managing archives in RAR format, in fact. It should be noted that the program is distributed in the form of trialware, so it can be downloaded and used for free but at each start it shows a warning that invites you to purchase a license within 40 days, after which WinRAR continues to work but shows the invitations to purchase in a more insistent way and some advanced functions, such as the one object of this passage, are blocked.

To download WinRAR on your computer, go to the program's website and click on the button Pick up che trovi in ​​corrispondenza della voce WinRAR per Windows Xp/2003/Vista/2008/7/8/10 a 64 bit or that WinRAR per Windows Xp/2003/Vista/2008/7/8/10 a 32 bit, depending on the version of Windows you are using.

Once downloaded, open the file .exe obtained and click on the buttons Yes, Install, OK e Close, in the window that appears on the screen.

Next, right click on the files you want to include in the protected RAR archive you are about to create, select the item Add to an archive from the menu that appears, click on the button Set Keyword in the window that is shown to you and type, in the two appropriate fields, the password with which you want to protect the archive. Then press the button OK, on the one with written on it Shop by Department to indicate the location in which to save the file and, finally, on the button Save.

SimplyRAR (macOS)

Stai using MacOS, to create password protected RAR archives you can take advantage of SimplyRAR, a free application that allows you to create and encrypt RAR files on Mac. Unfortunately it has not been updated for a few years now, but it still continues to work without problems even on the most recent versions of the Apple operating system.

To download it to your computer, go to the download page on the website of MacUpdate and press pulsating Download. If necessary, also click on the link No thanks, take me to my download and wait for the software download to start and complete.

In segito, apri il package .dmg ottenuto, trascina l 'SimplyRAR icon in the folder Applications, right click on it and select the item apri from the context menu that appears, in order to start the program, however, going around the limitations imposed by Apple on applications from non-certified developers (operation that must be performed only at the first start).

Once the program window appears on the screen, drag and drop the files and / or folders you want to include in the RAR file to be password protected on it, select the option Password protect at the bottom right, fill in the two fields displayed with the password you want to use and click on the button OK.

Finally, hit the button Create RAR located at the top, enter the name you want to assign to the password protected compressed archive you are about to generate, indicate the location where you want to save it and click the buttons Make e OK.

RAR (Android)

To create a password protected RAR file on Android you can rely on RAR, the application through which to generate and open compressed archives that I told you about in the step dedicated to encrypted ZIP files.

The use of the app is practically the same as what I have already described to you in the previous lines. The only difference is that, in that case, you will have to select the format RAR and not that ZIP in the screen Storage options visible after selecting the files to be compressed and after pressing the button with the compressed archive and the [+] symbol located at the top.

How to Encrypt a Word File

You are interested in understanding how to proceed for encrypt a Word file? Very well. Then follow the instructions on what to do in this step. Below you will find explained how to do it using Word di Microsoft Office. The indications are valid only for the version for Windows e MacOS of the program. The apps for Android and iOS and the online version of Word do not allow the creation of password protected documents, sorry.

That said, to protect a Word file with a password, first download and install Microsoft Office on your PC, in case you haven't already done so. If you need instructions on what to do, you can read my guide on how to download Office for free to clear your mind.

Then, open the Word file you are interested in going to act on by double clicking on it. After that, if you are using Windows, click here Fillet located at the top left and then on the item Protect document present in the menu that appears.

Successively select the voice Encrypt with password From the document security menu, enter the password you want to use to lock the file in the window that opens and click on the button OK. Finally, confirm the password choice by typing it again.

Se, invece, stai using MacOS, select the tab revision from the program toolbar and click on the button Protect document. In the window that opens, type the password you want to use to block the opening of the file in the field Set a password for opening the documentclick on your button OK, type the password again in the field that is proposed to you and press the button Submit on the keyboard to save the changes.

For any further information, I refer you to reading my specific guide on how to protect a Word file.

How to Encrypt an Excel File

Let's see now how to do it encrypt an Excel file. To do this, you can use Excel di Microsoft Office. Similarly to what we saw for Word, even in this case the indications are valid only for Windows e MacOS. The app for Android and iOS and the online version of the service, in fact, do not allow you to perform this type of operation.

That said, to create a password protected Excel file, download and install Microsoft Office on your PC (if you haven't already done so, of course) by following the directions in my guide on how to download Office for free.

Next, open the Excel file you intend to take action by double clicking on it, and, if you are using Windows, click on the button Fillet located at the top left, then go to the menu Protect Workbook on the next screen and select the item Encrypt with password from the menu that appears. If you can't see the menu Protect Workbook, select the voice Information from the side bar of the sinistra.

In the window that opens, type the password you want to use to protect your Excel file and click on the button OK. Repeat the same operation to confirm the settings and that's it.

Se, invece, stai using MacOS, go to the menu Fillet (top left) and select the item Password. In the window that opens, enter the password you want to use to protect the document and click on the button OK. Finally, type the second time password choice and click on the button OK per salvare I modified it.

For further information, I recommend reading my article focused specifically on how to put the password to an Excel file.

How to Encrypt Other Types of Files

In the previous lines we have had the opportunity to discover, together, which tools to use to encrypt the most common types of files. If, however, the element in relation to which you wish to intervene has a different format than those mentioned, or if the reported resources were not to your liking, you can contact one of the generic tools to Windows e MacOS that you find in my review dedicated to programs to encrypt a file.

Additional helpful resources, also for Android e iOS, are mentioned in my guide on how to password protect a folder. The reference is to integers cartelle, it is true, but you will still find there indicated some useful solutions to "keep under lock and key" your files.