Solved

PHP Authentication System

Posted on 2012-12-24
4
503 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
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 108

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now