Solved

PHP Authentication System

Posted on 2012-12-24
4
534 Views
Last Modified: 2013-11-19
Need some expert advice,

I have a site that currently uses phpbb for authentication for the entire site (localgolfer.com).  I would like to remove phpbb from the site and find a new authentication system.

I'm trying to find a framework for user login that is the following:

-Can import my current username/passwords database, and legacy users can still login via username and password
-Easy to use a simple if statement to test if the user is logged in
-PHP based
-User stays logged in from page to page and framework handles all that
-Has social login abilities for at least Facebook, but also Twitter, etc.
-Easy to integrate with MySQL and I can add extra "profile" fields without having to deal with framework.

I have seen HybridAuth and LoginRadius, but I do not think I can import usernames and have users still login with username and password.
0
Comment
Question by:neilsav
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 31

Accepted Solution

by:
Marco Gasi earned 250 total points
ID: 38719370
I don't know if it exists an authentication library which allows you to import existent users, but this could be a trivial task, once you know how new db tables used by the library are structured. You can simply write a little script to get all needed data from the current user tables and put them in the new one(s)

Cheers
0
 
LVL 3

Expert Comment

by:wadehults
ID: 38719391
My recommendation would be to move away from pre-builts and more toward custom implementations where you have more control over structure and security.
0
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
ID: 38720058
I agree with both the posts from marqusG and wadehults.  If the central issue is managing the login, this article shows how it is done.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_2391-PHP-login-logout-and-easy-access-control.html
0
 
LVL 1

Author Comment

by:neilsav
ID: 38723479
Custom it is, thanks for the advice.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question