You are using a browser which is not compatible with CSS (for more information, see Tara's tutorial). Because of this, it is possible that our website may not appear correctly in your browser. We apologise for the inconvenience, and recommend you upgrade your browser to one which is compatible with CSS. For more information, please visit our Browser Upgrade page.

4WebHelp

Online Tools: .htpasswd Encryption Tool

Before using this tool, you may wish to read our tutorial on Password Protection.

Insert your desired username and password below to create a line to place in your .htpasswd file. Use three or more characters. You may only use letters, numbers and underscores (_).
Name:
Password:
Password Again:

FrontPage Warning:

FrontPage sites have a .htaccess file in the root directory that is created when the FrontPage extensions are installed. FrontPage users should proceed with caution and make a backup copy of their .htaccess file before making any changes. Incorrect changes to your .htaccess file can result in your site being unreachable.
Comments
Name: x4 labsEmail 553085791 at qq dot com
This post provides the light in which we can observe the reality. That is very nice one and provides in-depth information.<a href="https://sites.google.com/site/penometgaiters/x4-labs-discount-150-off-promo-code-x4-labs-reviews">x4 labs </a>
Name: sizegenetics discount Email nevst2014 at gmail dot com
This can be among the ideal posts that I've ever seen; you might contain some extra ideas inside the similar theme. I'm nonetheless waiting for some interesting thoughts from your side inside your subsequent post.https://sites.google.com/site/bathmatepump/sizegenetics-coupon-code-50-off-30-discount-information-sizegenetics-review
Name: wondershare dr foneEmail nevst2014 at gmail dot com
Reading this reminds me of my old room mate. That guy was one particular in the smartest human beings I know, but he was a little odd for my tastes though. Anyways I appreciated reading this, thanks. Will give me something to go into when I see him.http://wondersharemobilego.wordpress.com/2014/03/01/wondershare-dr-fone-discount-coupon-code-wondershare-dr-fone-for-ios-review
Name: stellar phoenix photo recoveryEmail nevst666 at hotmail dot com
Good post. Now, can I translate your post and post it in my weblog quoting you because the author? I would enjoy it. Thanks.url=https://sites.google.com/site/nevstsoftwares/coupon-link-stellar-phoenix-photo-recovery-29-99-off-discount]stellar phoenix photo recovery[/url]
Name: x4 labsEmail bilbaosfno at hotmail dot com
His is so good that I had to comment. I'm in most cases just a lurker, taking in know-how and nodding my head in quiet approval in the beneficial stuff.....this needed written props. Theory rocks...thanks.https://sites.google.com/site/penometgaiters/x4-labs-discount-150-off-promo-code-x4-labs-reviews

Name: sizegenetics discountEmail skogendwbtq at hotmail dot com
You got many positive points there. I manufactured a search on the situation and observed practically all peoples will agree together with your weblog.
<a href="https://sites.google.com/site/bathmatepump/sizegenetics-coupon-code-50-off-30-discount-information-sizegenetics-review">sizegenetics discount</a>
Name: sp奢侈品Email spgood at outlook dot com
very usefull !thanks
Name: abni bin mohamadEmail abni at domain dot com
100% vary2 happy today thank you very much..
Name: PaulaEmail none
Thank you for this!
Name: BadAss.SxEmail none
Thanks bro, easy setup with this page.

Check out http://www.badass.sx Wink
Name: dinner in the desertEmail psam726 at gmail dot com
I havent any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. for more information please click hare http://www.funtoursdubai.com/
Name: volkan yaparEmail volkanyapar_trabzon at hotmail dot com
admin:63Q2jdCCEVt5Y
Name: Cristiano CostaEmail none
Thank you, very helpful!!!
Name: Tinel BarbEmail tinelbarb at yahoo dot com
So, the password hashes you provide are in obsolete format and don`t work.
For anybody who need a password generator i recommend using "htpasswd" utility which is the Apache`s package.
The commands are:
1. to CREATE the .htpasswd file use:
htpasswd -cmb .htpasswd USER PASSWORD
2. To ADD more users in the existing file use:
htpasswd -cmb .htpasswd USER PASSWORD
3. To DELETE a user from existing file use:
htpasswd -D .htpasswd USER
4. To just display the result line (no need to provide a filename):
htpasswd -nmb USER PASSWORD

Windows users can find the tool in the Apache`s install directory, in the "bin" folder.

webmaster@4webhelp.net: be aware, your POST variables are not well sanitized, an sql injection can be possible.
(I`ve got this:
There was an error adding your comments to the database:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near .... at line 4)
Name: LouisEmail none
Love it. Thank you!!!
Name: MattEmail none
This is what I put in the .htaccess file

AuthUserFile /absolute/path/.htpasswd
AuthName "Restricted"
AuthType Basic
require valid-user
Name: giladEmail none
cool, thanks for the tool, very helpful.
Name: Buck WildeEmail buck at cbwilde dot com
Thank you. Very helpful!
Name: VictoirEmail none
Thank you very much, very handy tool Smile
Name: CarolEmail carol at ceeme dot com
Just stopping in to say I use the htaccess page at least 3 times every year.  I want to thank you for making this site for us.  
Name: barbabluesEmail none
Thanks for a very useful tool...
Name: betty jamesEmail betty dot james333 at gmail dot com
Hi, I am betty james, I like this blog very much, So I am happy to open this blog..........
Name: MattEmail none
According to Apache manual, maximum length would be limited to 255 characters.

http://httpd.apache.org/docs/1.3/programs/htpasswd.html
Name: matugmEmail matugm at gmail dot com
The maxium length with the default encryption algorithm is 8,so if you use a longer password it will be trimmed without notice,if you want to use a longer password you can use the htpasswd tool with the -s switch.
Name: MattEmail none
Itried this online tool, and it worked perfectly:
http://apps.mathieu-rodic.com/Encryption/.htpasswd-Generator
Name: Rob MillerEmail bsa dot Miller5514 at escapedemail dot com
I liked your site.
Name: MezzyEmail none
Thanks Smile
Name: JonEmail none
Big thanks to 4webhelp and Tim Woolfson who shared his php. With his script I found the correct path, that I alway suspected was the problem, and resolved the issue! I now have a password-protected site.
Name: how show htpasswd in every one hour?Email smsakpal at gmail dot com
how to show htpasswd in every one hour ?
what we can used please tell me briefly.

Regards
Name: yannEmail none
Salt can be different any time you generate a new one, please before to say stupid thing, READ THE **** MANUAL.

for information you htaccess shoud look like :


AuthUserFile /path/to/a//non/web/directory/.htpasswd
AuthName "Not for noob"
AuthType Basic
<limit GET POST>
require valid-user
</limit>
Name: terenzioEmail none
It just works... thanks a lot!
Name: CharlottewE19Email CharlottewE19 at unique-papers dot com
Oh, superior fact related to this post. Will please let me know how long time this would take? Just because I am willing to do some thesis topic or may be it will be good to order the <a href="http://www.topthesis.com">thesis writing service</a>. Thank you.
Name: likoEmail ptxyjj at 163 dot com
very nice work.
will appreciate it if i can get the awesome tool. Smile
Name: Brian StanfillEmail none
   # AllowOverride controls what directives may be placed in .htaccess files.
   # It can be "All", "None", or any combination of the keywords:
   #   Options FileInfo AuthConfig Limit
   #
   AllowOverride None

## change to AllowOverride AuthConfig
## if you want to use .htaccess to control
## password access.
Name: MuxinEmail muxin at yahoo dot cn
Hi,
Have a nice weekends.

It's a great tool.
Could you mail me the SoftWare Please?Thank you!
Name: NeilEmail none
Can anyone give a definitive answer to what the maximum allowable password length please?

I'm using htpasswd on a BSD system and my server will let me access the protected directory if I enter just the first 8 characters even though my password is 9 characters long. Does this have something to do with a flaw in whatever's being used to encode/encrypt the password? Thanks!
Name: Klinggon22Email none
This works just fine.  If all your other steps are done correctly this does encrypt the password just fine.  Thanks for supply it.  
Name: KEmail none
Works like a charm.  Thank you so much!
Name: LudEmail none
THIS IS SO WRONG!

It doesn't work, the encryptions just outputs rubbish *sigh*

(and *double sigh* to all these [insert female name] comments)
Name: DougEmail none
i created a .htpasswd file but i dont no how to create a login form please help
Name: GregEmail Greg at ChattPlus dot com
Nice work!
Name: cuscoEmail none
your root path have to be like that.. else, your password does not accepted..

AuthUserFile "/var/www/vhosts/xxxxx.com/httpdocs/.htpasswd"

Name: PRV2 AdminEmail submission at prv2 dot com
Guys i have asked a question here but it was removed by the site admin!!!
I need your help on how to create and link the .htaccess and the .htpasswd files to gather instep to create password protected directories?
am using Linux based web hosting for the website and i need to protect some folders with password, any help would be really appreciated, thank you all inhere, hope you will help me?
http://www.prv2.com
Name: wayneEmail none
Ive tried EVERYTHING I can think of. I'm almost positive my path is correct and it still says my username/password is invalid?

any ideas?
Name: jawsEmail none
Just want to comment:  This tool is not for everyone.  If you are running apache in windows you need to use MD5 encryption for passwords. This tool does not seems to do that.   I am guessing that it uses the crypt function.  To generate the correct ones with MD5Encryption just go to the bin dir for apache and run htpasswd.exe. -c [location of .htaccess] [username]  It will prompt you for a password.  See: http://httpd.apache.org/docs/2.2/programs/htpasswd.html
Name: Wed DeveloperEmail none
Excellent tool, works as said to.
Name: giacomoEmail zeta_z at hotmail dot it
nice if there's no unix box around
Name: USEREmail none
This tool is rubish doesnt work at all,

when i enter my password i get nothin when i enter what is meant to be the encrypted password wow i get in what goin on here ppl
Name: EveEmail none
Thanks for a very useful encryption tool! I like the rest of your site as well.
Name: ImranEmail visit2imran at gmail dot com
Hello everyone,

I have created the .htpasswd from this site http://www.4webhelp.net/us/password.php.
Name = develop
password = develop
It created me the .htpasswd as
develop:59DQtVkPTS4jk

I just copied and pasted in the .htpasswd file and tried logging in.
It jsut doesn't allow me to log in, Infact when i typed the password as 59DQtVkPTS4jk it allowed me in...

Can somebody help in this ?

Thanks in advance.
Name: shemeer m aliEmail shemeermali at gmail dot com
thanxsssssssssssssssssssssssssssss


very,,,,,,,,,,,,,,,,,,,,,,,,,, much


its very help fullllllllll

thanxs..................................................
Name: LjubaEmail mljuba at mail dot com
I want to thank you for great script
Name: IEmailerEmail info at iemailer dot com
Hi all,
Am new to the .hta file thing.
And am asking for help to set the file on my server
am running a software site and i want to block access to specific folders in there so how to create and upload this file?
Any extra help would be really appreciated

http://www.IEmailer.com
Bulk Email Marketing Software
Name: DavidEmail none
Could you just state what the maximum password length is, please? Can it work with 20-character passwords?
Name: Travis LongleyEmail sivart7555 at yahoo dot com
How come my passwords dont have to be encrypted?...I was trying to figure this out forever but if my username was admin and the password was admin too the entry in the .htpasswd file would look like    Admin:Admin  How Come?
Name: Am I going made passwords don't matchEmail robert dot wakeford at ennsol dot co dot uk
Hi,

I've used free htaccess password encription sites for years. However I've tried to create a new one today using the user name and password of admin / apple. However, with each attempt the encrypted password is different.

admin:847JKPnLAjPPc

admin:93qbg0W7frhPQ

admin:26Dv7rhFZ7CUA

What is going on?
Name: AfzalEmail husafzal at hotmail dot com
I am new to this htaccess business, i am in the proces of building a website with web hosting company.  I have managed to create the pop up box and everyting, but i cannot seem to get my head the on why it does not accept the encryted login.  

I have been reading a lot on ht access, and some of it, is not making much sence.  

Do i have to install PHP, Apache on my Windows O/S.  

Can someone please advice
Name: SimonEmail none
Hi, how can i find out the true path to put into my .htaccess file? i think thats what isn't working at the moment Sad it asks for password though, just doesn't seem to want to read the .htpasswd file with the answers in Sad
help much appreciated
Sx
Name: heatherEmail none
i love you. i really do. telnet directions were bothering me for 2 hours straight. this is just amazing. thank you.
Name: MickayEmail none
Great stuff! Cheers to the person who came up with the idea to get the server path using php! I cant believe i didnt think of it! =P me being a genious and all =P
Name: RamseyEmail ramseygarnica at yahoo dot com
NOTE:  On Godaddys server, that php code to see the path to the root directory will not show the whole thing, but godaddy's help menu show's what the code leaves out.  
Name: JeanEmail none
I was having problems determining the full path to my root directory. I'm very thankful to the person who posted the small php file to extract the path. Now why didn't I think of that... Doh!!

Thanks again,
Jean Bisson
Name: Tim WoolfsonEmail none
Hi all,

It seems to me that relative paths from .htaccess to .htpasswd don't work - or at least not on my ISPs configuration.

I wrote a simple PHP file called whereami.php like this.
<?php

$dir = dirname(__FILE__);
echo $dir

?>
Uploaded it to the relevant directory then opened it in a browser. That gave me the path and resolved the issue. Hope that helps you.

Tim Woolfson
Internet Marketng Consultant (UK and Spain)
http://www.pwp1.com
Name: RamseyEmail ramseygarnica at yahoo dot com
This is perfect!!  After 2 day's of tring to figure this out and get Apache dowloaded, some one sends me this site and it saves me!!  Great job!
Name: Thomas Walde-JensenEmail no at where dot dk
Thanks.

After fiddling with the true path for about half an hour i got it to work beautifully. Very Happy
Name: PaulEmail none
Have the same very annoying problem of finding HTACCESS no longer works. I have wasted 6 hours trying to discover how the problem can be resolved - but without success Sad

Our configuration is Apache  2.0.54 (Fedora)

Appreciate any ideas www.g56.net

Thanks,

Paul.
Name: MartinEmail napavalleysoft3006 at yahoo dot com
Very interesting and beautiful site. It is a lot of helpful information. Thanks!
Name: MartinEmail marin2brown at hotmail dot tw
Hi. You have very nice website! Beautiful design.
Name: johnEmail none
sorry Johan, my comment was ment for Michael Friedlander
Name: Johan GeuzeEmail none
Thanks again for this wonderful tool

http://www.linc.com.mx
Name: DaveEmail dave at maynard dot com
The reset button doesn't work.
Name: DanielEmail use contact form
BT: The source code is not available for release, however the code is pretty simple and is based on the PHP crypt function. More information is available at http://www.php.net/crypt
Name: danielEmail none
Great job! Thanks a lot...

Open resources, rule!!!

Wink
Name: RickiEmail none
Thanks to who ever made this scripts>

It's the Bees Knees

Lovin' Ur Work!
Name: HexxEmail none
I'm loving this script...It's very usefull, thanks for putting it here, saves me having to encourage a friend into writing me one. Please don't ever take it away..
Name: steveEmail none
salt? hashs's? i duno how it works but i like it Smile
Name: TurboEmail none
Hey, i just wanna tell i love your script, and i use it all the time, don't ever break the link! Cheers T
Name: adamEmail spam dot me at cuo dot org dot uk
Just thought I would say that this script is very useful....I use it all the time Very Happy

Add a new comment

This page is © Copyright 2002-2014, 4WebHelp. It may not be reproduced without 4WebHelp's prior permission.