You probably know how to create password protected zip files on Windows (and if you don't you should check out our guide), but did you know you can create password-protected zip files on Mac too? Although Apple's Mac computers have a reputation for being less vulnerable to hacks and data breaches compared to Windows PCs (which isn't strictly speaking true), it's never a bad idea to add some extra protection to your more sensitive files. If there's something you don't want anyone else to see, like racy pictures or private business documents than putting them in an archive and locking it with a password is always a good idea.The goal of this article is to teach you how to do that if don't already know. So let's begin with the basics. How to Create Password Protected Zip Folder on your Mac. To begin you need to select the file or folder you wish to archive and right-click it.
Open Password Protected Zip Files on mac: Compressed files is no big deal, Everyone does it and it is needed too if you want to transfer a large file.ZIP is an archive file format that supports lossless data compression. A.ZIP file may contain one or more files or directories that may have been compressed.
Press 'Compress' and select to zip file. Then you need to use Finder, scroll down to 'Utilities' and choose 'Terminal' from the folder. Alternatively, you can press command and space keys at the same time to start the Spotlights search. Enter 'Terminal' in Spotlight on your Mac computer to open it.
Enter these commands to encrypt the chosen files:'zip -e archivename targetfolder' and 'zip -er archivename targetfolder'. Afterward, you'll see a pop up which will prompt you to enter a password. Do so and hit 'OK'. You'll be asked to verify it. Enter it again and press 'OK' and you're done with the first phase of the task.What else is there you may wonder?
Well, you opening the zip file on a Mac is a bit trickier than on a Windows computer if you forgot your password, so I'll have to show you guys how to do that as well. How to Open Encrypted Zip Files on my MacUnder normal circumstances you can open a password-protected zip file on a Mac the same way you do on Windows - just double-click it and enter the password. However, if you forgot the password, things are a little more complicated. You will have to use the Terminal utility to unlock the archived file(s). Here's how:.
Launch the Terminal utility on your Mac. Search for it in Spotlight if you don't know where it is. Enter 'unzip -P password (Drag zip file) -d (Drag your destination folder)' in the Terminal utility. Then press 'Enter'. This will display the password for the selected archive.From there just proceed as normal. Double-click the zip file and enter the password.
I found a pretty easy way of disabling the password protection in the new Excel Worksheet files (XLSX) used by Excel 2007 and 2010. Just follow these simple steps:. Change the file extension from.XLSX to.ZIP. Extract the file to a folder with your favorite unzipper (7-Zip is what I used).
Go to the xlworksheet sub-folder that you just extracted. There should be one or more files named like: sheet1.xml (sheet2.xml, etc). Inside of one of those files is an XML tag:. Delete that entire XML tag. Re-zip the files back up.
Rename from.ZIP to.XLSXDone!UPDATE: This method only applies to password protected workbooks. If the file is secured with the “Encrypt with Password” feature, it will not work.UPDATE 2: It is important that you don’t have Windows configured to hide file extensions (which unfortunately is the default behavior). To enable displaying file name extensions, follow this. I could not get the file to open after re-zipping and changing the ext back to xlsx so I tried something different.
After un-zipping, In the xl folder I opened the “workbook.xml” file with notepad, searched for password. In the code “workbookPassword=”94B3″ changed to workbookPassword=”” and saved. Then went into worksheets folder and opened “sheet1.xml”, searched for password. In the code “Password=”94B3″ changed to Password=”” and saved.
Zipped it back up and changed ext back to xlsx, opened the file and turned off protection, no password required. That sounds like it could be from a Windows permissions error. You probably need to be running in a UAC elevated context.UAC elevation occurs when you see a prompt like this:There’s a few ways you can approach this:. Run notepad.exe as admin: right click the Notepad icon, choose “Run as Admin”. Then open the file you want to edit from the File Open menu item in Notepad, make your changes and you shouldn’t have a problem saving them.
Work with the files within your user profile folder (c:Usersyour username): For example, if you extract Book1.xlsx to a folder on your Desktop (C:Usersyour usernameDesktopBook1), you should be able to edit any files in there without needing to elevate UAC permissions. Lastly, you can save the file to your desktop, then copy and paste it to the original destination through Windows Explorer. Windows Explorer should prompt you for UAC elevation at that time.Personally, I prefer doing the second option, so that way I don’t have to keep getting UAC privileges elevated.
You would probably need to jump through these hoops again when you re-build the zip file, otherwise. Hope that helps! Make sure you extract them in a folder on your Desktop (or somewhere within your profile). That way you don’t need to edit the files with UAC privileges (AKA “run as admin” privileges).After you edit the file, save it, close Notepad, and then try reopening it and see if it still has your modifications before you re-compress the zip.
It sounds like something wasn’t saving, maybe due to some permission issue, or something on your machine is causing the file to revert back. I would think you would see an error message if you couldn’t save, though.You may want to try something like or (a couple of great, free, notepad replacement apps).