NinjaCipher:-*-:ro60

Archive for September, 2006

password protection with htaccess

Monday, September 25th, 2006

Here is a short example of password protecting a directory with htaccess and htpassword.

#put this is your .htaccess file that resides
#in the directory that you wish to protect

AuthUserFile /path/to/whereever/.users
AuthType Basic
AuthName "Miami"
<LIMIT GET POST&gt
require valid-user
</LIMIT&gt

#run this command after you add the htaccess
#command to add a user to a newuser file
sudo htpasswd -c /path/to/whereever/.users newusername

#command to add a user to an exsisting file
sudo htpasswd /path/to/whereever/.users newusername

you will then be prompted twice for the new password for the username that you chose in the command above. Thats all folks…

Enjoy,
NC

Ninjacipher Networks

Monday, September 25th, 2006

Hello everybody out there in cyberspace. I come to you after a long bout of blog faded obscurity. For this I apologies whole heartedly and offer up a hearty… “I’m lazy”! That being said I’m back and hopefully this posting business will become far more common place.

First things first… be on the lookout for the new and improved ninjacipher family. We here at the ninjacipher labs have been hard at work coming up with new and improved ways for you the loyal reader to get some much deserved digital hugs. I’m sure all you technophobes out there are asking yourself why the hell would we want to hug a big potentially cancerous hunk of metal and diodes? Well I’ll tell you… It really sux to always have to think for yourselves. Yes folks the time has come to surender the reigns to the all knowing computer and we are here to help with just that. Coming soon to a virtual theater near you…

Sansplans.com
and
Kitchenkungfu.com

Whatever do you mean… well your just going to have to hold yourself until the next rest stop Billy were just about there. And it’s going to be pretty fresh if I do say so myself.

A few other notes….
Science of sleep: great movie… go see it now… hit the pipe first… trust me :) Black Dahlia: a complete and utter waste of 10$… Scarlett Johansson should be sliced from ear to ear and then have her guts ripped out… hell thats how I felt sitting through that car crash.

stay tuned.
NC