Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
I found this note in the man page for htpasswd: The MD5 algorithm used by htpasswd is specific to the Apache software; passwords encrypted using it will not be usable with other Web servers..

As I recall, I dug through the Apache source code a while ago trying to figure out how it did the MD5 stuff, and gave up.

I know you're using htdigest instead of htpasswd, but they might use the same method for computing the MD5 digest.

If that's the case, one solution would be to customize the relevant Apache modules so that they use the same MD5 calculation that UBB.threads does.

Another solution would be to add a "front-end" script or Apache module which uses the server environment variables, as described at the link I posted above, to prompt for the user's login name and password, and then validate them using the UBB.threads database. All visitors to your site would have to get through this front-end script, so it would have the desired result.

Sponsored Links
Entire Thread
Subject Posted By Posted
password encryption and .htaccess authentication tgnb 12/17/2002 4:38 PM
Re: password encryption and .htaccess authentication dimopoulos 12/17/2002 5:31 PM
Re: password encryption and .htaccess authenticati tgnb 12/17/2002 6:11 PM
Re: password encryption and .htaccess authenticati dimopoulos 12/17/2002 7:23 PM
Re: password encryption and .htaccess authenticati tgnb 12/20/2002 4:04 PM
Re: password encryption and .htaccess authenticati dimopoulos 12/20/2002 7:04 PM
Re: password encryption and .htaccess authenticati tgnb 12/20/2002 10:43 PM
Re: password encryption and .htaccess authenticati Dave_L_dup1 12/20/2002 11:19 PM
Re: password encryption and .htaccess authenticati tgnb 12/23/2002 6:13 PM
Re: password encryption and .htaccess authenticati Dave_L_dup1 12/23/2002 7:34 PM
Re: password encryption and .htaccess authenticati tgnb 12/23/2002 10:14 PM
Re: password encryption and .htaccess authenticati Dave_L_dup1 12/23/2002 11:37 PM
Re: password encryption and .htaccess authenticati tgnb 12/24/2002 12:21 AM
Re: password encryption and .htaccess authentication mgdale2 01/07/2004 10:01 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,835
Joined: January 2000
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)