Hello Henry,
To decode the password is the wrong way,
You have to build the passwort with the given login.
Then you have to compare it with the htpasswd file.
You could simple build a crypt(3) encrypted passsword with the external class
from www.cryptix.com.
There is a methode called crypt.
You have the give it the salt from your allready encrypted password out of the
htpasswd file (the first 2 Chars).

Greetings,
Wolle

Henry DU wrote:

> I want to use password file ( generated by htpasswd program ) in my
> form-based servlets. I can process the user login information
> (user/password) from web page. But how can I use the htpassword since it was
> encrypted?
> Is it possible to decode the htpassword file for APACHE web server and use
> it in servlets?
>
> Thanks a lot for any suggestions
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com



Reply via email to