In essence, you can safeguard your files and data on a Macbook using FileVault. However, this method might be a bit complex, and users new to Macbooks may find it challenging. Instead, you can set passwords for folders and files on your Macbook.
In this article, Mytour will guide you on how to set passwords for folders and files on your Macbook.
Setting Passwords for Folders and Files on Macbook
Setting Password Protection for iWork Documents on Macbook
iWork is Apple's office suite designed for Macbooks. If your Pages, Keynote, or Numbers files contain sensitive information, you can set passwords to protect these files.
Open the file you want to password-protect, go to File =>Set Password. Enter a password in the Password field, then re-enter it in the Verify field to confirm. Optionally, enter a hint in the Password Hint field to remember your password, then click Set Password.
In subsequent openings, you'll be prompted to enter the password.
Setting Password Protection for PDF Files in Preview on Macbook
Preview is the built-in app for viewing PDFs and images on Mac. Besides using Preview as a PDF viewer, you can utilize the app to save images as PDFs, sign PDF documents, merge multiple PDF files, and annotate, highlight, and add notes to PDFs. Moreover, you can use Preview to set a password to protect PDF files.
Open the PDF file you want to password-protect in Preview. Open the File menu, then press and hold the Option key. The Save As option will be available in the Duplicate menu. Click Save As.
In the Save dialog, check the box Encrypt at the bottom corner. Enter the password in the Password and Verify fields, then click Save.
In subsequent document openings, you'll be prompted to enter the password. Your task is to input the password you've just set.
To remove the password protection from a PDF file, open the file, input the password when prompted. Then press and hold the Option key to access the Save As option in the File menu. Uncheck the Encrypt option in the Save As dialog. Save this file with a new name, and delete the old files protected by a password.
Note: This method applies only to PDF files, not to image files. The Encrypt option is not available in the Save dialog when saving images.
Set a password to protect PDF files on Macbook using the Save as PDF option
Additionally, you can secure PDF files in applications by utilizing the Save as PDF option in the Print dialog. This method is applicable to text files or other document types if the Save as PDF option is available in the application.
Open the PDF or document file you want to password-protect, go to File =>Print. Choose Save as PDF from the PDF menu at the bottom of the Print dialog. Then click Security Options in the Save dialog. Check the box Require password to open document.
Enter a password of your choice in the Password field, then re-enter it in the Verify field to confirm, and click OK.
To remove the password set on a PDF file, simply open the PDF in Preview and delete the password you've set.
Set a password to protect Word files on Macbook
To set a password to protect a Word file, follow these steps:
Open the Word file you want to password-protect, then click on the Review tab, and select Protect Document.
In the Password Protect dialog, enter a password you want to set in the Password field under Set a password to open this document. Additionally, you can enter a password for modifying the document in the Password field under Set a password to modify this document, and select other documents to protect under Protection.
Finally, check Remove personal information from this file on save.
To remove the password protection from a specific document, simply open the document, go to Review =>Protect Document. Delete the password you've set in the Password Protect dialog and click OK.
Set a password to protect PowerPoint files on Macbook
Setting a password to protect a Microsoft PowerPoint file is a bit more complex than securing a Word file.
On the menu bar, go to File =>Passwords. Under Password to open, check Encrypt this presentation and require a password to open. In the Set a password for this presentation dialog, enter a password in the New password field and re-enter it in the Verify field to confirm. Click Set Password, then click OK.
To remove the password you've set, open the PowerPoint file, go to File =>Passwords, and uncheck Encrypt this presentation and require a password to open.
Set a password to protect Excel files on Macbook
Setting a password for an Excel file follows a similar process to securing a PowerPoint file on Macbook, with only the dialog box being different.
On the menu bar, go to File =>Passwords. In the File Password dialog, enter a password in the Password to open field. Additionally, if desired, you can enter a password in the Password to modify field to prevent others from modifying the spreadsheet. Then click OK.
To remove the password protection from an Excel spreadsheet, open the spreadsheet, go to File =>Password, and delete the password in the File Passwords dialog.
Set a password for a folder on Macbook using Disk Utility
Disk Utility is a built-in free hard drive management application on Mac. Users can utilize Disk Utility to erase, format, repair, and partition hard drives on Mac. Additionally, Disk Utility can be used to create a copy of any hard drive on the computer or even create an ISO disc image compatible with Windows.
However, Disk Utility has another feature that few users are aware of, which is creating an encrypted disk image or a file containing the entire contents of an external storage device such as a USB drive, CD, or DVD.
Create a folder and transfer all the files you want to protect with a password. Then use Disk Utility to create an encrypted disk image of the folder. Open Disk Utility and go to File =>New Image =>Image from Folder. Choose the folder you want to encrypt and click Choose.
Name the disk image in the Save As dialog, then choose Where to store the DMG file.
Choose the Encryption type (128-bit or 256-bit AES). In the dialog displayed on the screen, enter the password in the Password field, then re-enter the password in the Verify field to confirm, and click Choose.
From the Image Format menu, select read/write, then click Save.
The progress bar and a success message will be displayed on the screen. Click Done.
To access the files you added to the disk image, double-click on the DMG file, enter the password when prompted, and click OK.
Disk Utility will add the disk image to your desktop. Double-click on the disk image icon to access the files inside.
After usage, remember to eject the disk image; your files will be protected with a password. To do this, right-click on the disk image icon on the desktop, select Eject “Name of Disk Image”.
An ideal solution is to delete the original files after adding them to the encrypted disk image. Use the Eraser tool to securely erase the files.
Set a password to protect files and folders using Terminal
In addition to the methods mentioned above, you can use the ZIP command in Terminal to compress and set passwords for files and folders on your Macbook.
Open Terminal in the Applications/Utilities/Terminal folder. First, navigate to the directory containing the files you want to protect with a password. Assuming the files are on the Desktop, enter the following command in the Terminal window:
cd Desktop
If your files are in a different location, simply replace Desktop with the path to your files or move the files to the Desktop.
Next, enter the command below, replacing “Sample.zip” with the name you want to give to the ZIP file, and replace “Sample.mp4” with the name of the file you want to password-protect.
zip -e Sample.zip Sample.mp4
If you want to set a password for a folder, the command will be slightly different. Assuming you have a folder named FilesToProtect on the desktop and you want to password-protect it. In the Terminal window, enter the following command:
zip -e ProtectedFiles.zip FilesToProtect/*
Use the character “/*” after the folder name to indicate compressing all files in that folder. If the folder contains subfolders you want to include in the ZIP file, change “-e” to “-er” in the command, where “r” stands for recursive. All subfolders will be scanned to include in the ZIP file.
The original files will remain intact. Therefore, the ideal solution is to delete these original files after you have added them to the encrypted ZIP file. Use the Eraser tool to securely delete these files.
Set folder password and encrypt on Mac using Encrypto
Encrypto is a free tool to create encrypted files containing various files and folders for both Mac and Windows. This tool is considered a secure solution for sending files and folders to other users. However, you can use this tool to set a password to protect folders with files and store encrypted files on your computer's hard drive and back up encrypted files to an external hard drive.
Download Encrypto to your Macbook and install it. When you open Encrypto, a window will appear on the screen. Drag the files and folders you want to protect into this window. If desired, you can protect files and folders in the same encrypted file (.CRYPTO), but you must add these files and folders at the same time. The structure of the original folders is not preserved.
Enter a password for the encrypted file and optionally provide a hint in the Hint (optional) section. This hint will be useful if you are sharing the encrypted file with other users. You can enter a hint that only you and the other person know, eliminating the need to send them the password. Then click Encrypt to create the encrypted file.
The files and folders are encrypted into a .CRYPTO file. You can save this encrypted file to the hard drive or share it directly with other users using Encrypto by pressing the Share File button.
Double-click the .CRYPTO file to decrypt the files and save them to the hard drive. After using the files, simply use Encrypto to encrypt the files again and delete the files you decrypted.
Explore various methods to secure folders and files on your Macbook. Which approach are you using to safeguard sensitive data on your Macbook? Share your thoughts with Mytour!
