Create a Password Protected ZIP
Have you ever wanted to put very basic security (a passphrase) on a file? You can do so if you ZIP the file -- let's have a look at how you can password-protect a ZIP file!
Creating a password protected ZIP file from command line is done so via the following command:
# zip -er {file name to be created} {source directory or file}
zip -er my-generated-file.zip source-file.rtf
When someone tries to unzip the file, they'll be prompted for a password.
Don't be under any illusion that a password makes the ZIP file too secure: ZIP files don't self-destruct after a given number of attempts so a brute force effort to crack the password would ultimately be effective. If you do, however, want a very basic level of security for the contents of a file, this command will get you there.
![Animated 3D Flipping Menu with CSS]()
CSS animations aren't just for basic fades or sliding elements anymore -- CSS animations are capable of much more. I've showed you how you can create an exploding logo (applied with JavaScript, but all animation is CSS), an animated Photo Stack, a sweet...
![Write Simple, Elegant and Maintainable Media Queries with Sass]()
I spent a few months experimenting with different approaches for writing simple, elegant and maintainable media queries with Sass. Each solution had something that I really liked, but I couldn't find one that covered everything I needed to do, so I ventured into creating my...
![MooTools TextOverlap Plugin]()
Developers everywhere seem to be looking for different ways to make use of JavaScript libraries. Some creations are extremely practical, others aren't. This one may be more on the "aren't" side but used correctly, my TextOverlap plugin could add another interesting design element...
![Create Digg URLs Using PHP]()
Digg recently came out with a sweet new feature that allows users to create Tiny Digg URLs which show a Digg banner at the top allowing easy access to vote for the article from the page. While I love visiting Digg every once in a...