Cross-authentication the other way around [message #23624] |
Thu, 24 March 2005 13:53 |
gstaniak
Messages: 2 Registered: March 2005
Karma: 0
|
Junior Member |
|
|
Hello,
I downloaded and installed the forum a few days ago, and I'd like to ask about the possibility of integrating it into a website, just like in the "Single Sign-on" topic - but the other way around. I don't use a CMS, but I have a few password-protected directories. Normally, I would use the standard Apache .htpasswd feature for less important stuff, or possibly write a PEAR-based authentication function for more sensitive documents. Now I'd like to integrate the password-protection with FUDForum - however, not like in the case of CMS integration, where the CMS would do the authentication part and then notify FUDForum by including and using the user_login() function, but on the contrary: I would like to include a function in otherwise plain HTML documents so that they would authenticate a user against the forum's database. Is that possible, and has anyone done that before? I'd be very grateful for a push in the right direction. Thanks.
--
Grzegorz Staniak <gstaniak(at)wp(dot)pl>
|
|
|
|
|
Re: Cross-authentication the other way around [message #23640 is a reply to message #23636] |
Thu, 24 March 2005 22:00 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
As of FUDforum 2.6.12 there is a special script inside the scripts/ directory called forum_login.php that implements external_fud_login() function that given a forum user id will log that user in.
FUDforum Core Developer
|
|
|