PHP Classes

Secure user management: Need a secure user login management

Recommend this page to a friend!
  All requests RSS feed  >  Secure user management  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Secure user management


by Khan Asif Ahmed - 3 years ago (2015-07-23)

Need a secure user login management

This request is clear and relevant.
This request is not clear or is not relevant.


I downloaded 2 or 3 classes from here and modified them according to my system, but I need secure login system. So please anybody help me.

  • 1 Clarification request
  • 1. by Manuel Lemos - 3 years ago (2015-07-28) Reply

    If you do things carefully any login system can be secure.

    What aspects did you find in those classes that you were not sure if they were secure?

    • 2. by Khan Asif Ahmed - 3 years ago (2015-07-28) in reply to comment 1 by Manuel Lemos Comment

      in brief need a secure login system like without session variables, sql injection free etc.

    • 3. by Manuel Lemos - 3 years ago (2015-07-29) in reply to comment 2 by Khan Asif Ahmed Comment

      Well using session variables is not really a security problem. Is there are reason you think session variables can cause security problems to a login system?

      As for SQL injection free, maybe a class that uses prepared queries based on PDO, MySQLi or something else, is a safer solution.

Ask clarification

1 Recommendation

Secure PHP Login System: Register and login users using a database via PDO

This recommendation solves the problem.
This recommendation does not solve the problem.


by Manuel Lemos Reputation 17585 - 3 years ago (2015-08-15) Comment

This class implements a login system with user records stored in a database accessed using PDO.

It uses prepared queries, so it is safe against SQL injection attacks.

Recommend package