How to Protect a Zip File with a Password on PC or Mac

Method 1 of 2:

Using WinRAR for Windows

  1. How to Protect a Zip File with a Password on PC or Mac Picture 1
    Install WinRAR on your PC. If you don't already have this free archive tool, see Use WinRAR to learn how to get it.
  2. How to Protect a Zip File with a Password on PC or Mac Picture 2
    Press Win+E. This opens the File Explorer.
  3. How to Protect a Zip File with a Password on PC or Mac Picture 3
    Browse to the folder with the files you want to zip.
  4. How to Protect a Zip File with a Password on PC or Mac Picture 4
    Select the file(s) and/or folder(s) you want to zip. To select more than one file and/or folder at a time, hold Ctrl as you click each file or folder name.
  5. How to Protect a Zip File with a Password on PC or Mac Picture 5
    Right-click the highlighted file(s). A context menu will expand.
  6. How to Protect a Zip File with a Password on PC or Mac Picture 6
    Click Add to archive…. This opens a WinRAR window called 'Archive name and parameters.'
  7. How to Protect a Zip File with a Password on PC or Mac Picture 7
    Name the file. You can type a different file name by erasing the default under "Archive name."
    1. Leave ".zip' at the end of the file name to show that it's a zip file. For example, archive.zip.
  8. How to Protect a Zip File with a Password on PC or Mac Picture 8
    Select ZIP under 'Archive format.'
  9. How to Protect a Zip File with a Password on PC or Mac Picture 9
    Click Set password…. It's at the bottom-right corner of the window. A password entry window will appear.
  10. How to Protect a Zip File with a Password on PC or Mac Picture 10
    Enter and confirm a password. You must type the password exactly the same into both blanks.
  11. How to Protect a Zip File with a Password on PC or Mac Picture 11
    Click OK. It's at the bottom-left corner of the password window.
  12. How to Protect a Zip File with a Password on PC or Mac Picture 12
    Click OK. It's at the bottom-center part of the archive window. This creates the zip file and protects it with the password you entered.
Method 2 of 2:

Using Zip for macOS

  1. How to Protect a Zip File with a Password on PC or Mac Picture 13
    Open a Terminal window on your Mac. You'll find Terminal in the Applications folder in a sub-folder called Utilities.
  2. How to Protect a Zip File with a Password on PC or Mac Picture 14
    Type zip -er at the command line and press Return. This tells your Mac to create an encrypted zip file.
  3. How to Protect a Zip File with a Password on PC or Mac Picture 15
    Type the name and location of the zip file you want to create, followed by a space. Make sure to end the new file name with '.zip' to show it's a zip file.
    1. For example, if you want to create a zip file called Archive.zip on your desktop, type ~Desktop/Archive.zip and then type a space.
  4. How to Protect a Zip File with a Password on PC or Mac Picture 16
    Type the name of the folder you want to zip and press Return. Type this right after the space after the path to the new zip file. You'll then be prompted to enter a password.
    1. For example, if you want to zip a folder on your desktop called Samples, type ~Desktop/Samples after the space and press Return.
    2. The entire command would look like this ~Desktop/Archive.zip ~Desktop/Samples.
  5. How to Protect a Zip File with a Password on PC or Mac Picture 17
    Type a password and press Return. This is the password you'll need to enter when unzipping the archive. A confirmation message will appear.
  6. How to Protect a Zip File with a Password on PC or Mac Picture 18
    Re-enter the password and press Return. This compresses the folder and files into a password-protected zip file.
5 ★ | 1 Vote

May be interested

  • How to set password to protect files on Windows 10How to set password to protect files on Windows 10
    want to protect your data on windows 10? bitlocker, winrar, 7-zip and onedrive are useful tools. in this article, tipsmake will guide you how to set a password to protect your files most securely.
  • Set password to protect text file content but still be readable (Office 2003)Set password to protect text file content but still be readable (Office 2003)
    ms word: you want to share the text file content for others to read, but you don't want the data in your file to be edited; quantrimang.com will show you how to do the following:
  • What to do when you forget the Excel file passwordWhat to do when you forget the Excel file password
    what to do when you forget the excel file password. because you want to protect your excel file from being accessed and used by you, you have set a password to protect excel file. but unfortunately, you forgot your excel file password and you haven't saved it yet
  • The 5 best Microsoft Office file recovery toolsThe 5 best Microsoft Office file recovery tools
    protecting ms office documents with strong passwords is a great idea. however, it is a headache when i cannot remember the password to open them. this article will introduce you to the 5 best ms office file recovery tools.
  • 5 online tools to remove pdf file limits5 online tools to remove pdf file limits
    to protect pdf file content is always safe, do not allow others to change or edit, usually the computer user or set an access password or set certain limits for the file. doing this may bring you some troubles when even you yourself cannot remember the characters used as passwords, the best way to be able to manipulate pdf files in this case is to remove them. those limits.
  • Set a password for the RAR archiveSet a password for the RAR archive
    set a password for rar archives - protect files safely, when other people use your computer you can directly use the winrar compression and decompression software that most computers all are used to set the password for the file
  • How to Create a Password Protected File on Windows 7How to Create a Password Protected File on Windows 7
    windows 7 creates an inconvenience for protecting your data by not allowing you to protect individual files with a password natively unlike previous iterations such as windows xp. instead the operating system provides workarounds and...
  • Create passwords for File and Folder protection on AndroidCreate passwords for File and Folder protection on Android
    because the data on android is stored publicly without being encrypted or protected by setting a password, anyone can access your file. today, tipsmake.com will guide you to read useful ways to help you set a password to protect any file and folder on android devices.
  • How to Protect a PDF File from CopyingHow to Protect a PDF File from Copying
    this wikihow will teach you how to protect your pdf file. you can create a pdf and then protect it from editing and copying within adobe acrobat. open your document in acrobat. you can either open your file inside adobe acrobat by going to...
  • Forgot password protected Excel file, what should you do?Forgot password protected Excel file, what should you do?
    suppose in case if there is an excel file containing extremely important data and because you want to keep your data secret, you create a password for the excel file to ensure its safety and data protection. file. however, for a long time not to use, forgetting passwords is also common.