Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We currently have a website that uses .htaccess to control access to some pages. We also have vBulletin running which uses a different set of credentials. What is the best way to tie these two together so they can use the same user name and password?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

I wrote a vBulletin mod to take care of this. It updates a password file used by .htaccess. See http://www.vbulletin.org/forum/showthread.php?threadid=215949

share|improve this answer
    
Besides duplicating data, this sounds like it has the potential for danger. –  Dan Carley Jun 12 '09 at 15:30
    
Well, for us, the data was already duplicated. At least now the duplicated data is the same. As far as danger goes, there is the possibility. The first version did have a security hole. I've made it as safe as I can though. –  Jon Drnek Jun 15 '09 at 12:26

I don't know whether the project is still active or whether the format that vBulletin hashes it's passwords will be suitable, but I have used a third-party Apache module under the name of "mod-auth-mysql" in the past, to integrate forum accounts with other web applications.

share|improve this answer

A possible solution is to use an LDAP. There are some vBulletin plugins that allow basic LDAP integration. Apache can also be configured to authenticate via an LDAP

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.