There are several compression methods to zip you file and store it as a single file consuming comparatively less memory. So it would be better if we could password protect it, wouldn't it ? Hence, in order to password protect a zip file in any Linux Distribution which uses Nautilus( Official File Manager for GNOME) we should:
- Select files you want to compress and Right Click + Compress.
- Select the extension to compress and Click Other Options.
- Now you see password and the text area. Type your Password
- Enter Create and it's done.
Note:
- The zip file opens up as you double click it. Also you can view the files inside it. Actually the zip file is now in read mode only. You can see the list of files you zipped. But in order to view the contents of file you will need to enter your password. Well the password protection doesn't work in following format compression
.ar .tar .tar.7z .tar.Z .cpio .gz .iso .jar .lzma .xz