PDA

View Full Version : Create Secure Login System



Server_CM
10-13-2014, 01:57 PM
Secure Login System is a new and complex web application that can be used to protect pages you need to be hidden from visitors and visible only to the registered members as well as an user management system, because it comes with an Admin backend which has the following features:
Manage Users ( Create / Disable Users & Change Level of Access )
Backup Users ( Backup Database / Rollback Backups )
Notify Users ( Email Users )
Export CSV ( Export Data in CSV File )
Admin Setings ( Update Info )

Also, this application it's based on two sides, one is the PHP Class that handles all the Server Side processes and data processing, and the other one is the jQuery Plugin which handles the forms and all the processes with Ajax and smooth transitions, without page redirects.


What the jQuery plugin does, basically, it generates on fly the login form and appends it to the chosen element. It also generates the sign up, recover and reset form. This is one of it's main functions, but it also handles all the PHP processes with AJAX so it can create a friendly user interface. Support for placeholders is also enabled for the login inputs and the recover password inputs. Beside all of the above features, it also has embedded a nice spinner generated with JavaScript and a smooth shake effect upon login process and recover password process. If you'll read the documentation you will see that this plugin has plenty of other features and extensive options for a better interaction. A quick example of how to bind the login form to a web page would be this, but read more in the documentation:



$('selector').loginsys();



As for the PHP class, it takes care of the login process and it's related features ( registration, password recovery and password reset ) as well as the Admin backend processes. It has a complex built in hashing algorithm for hashing passwords so in case the database it***8217;s compromised there will be no way to find the actual passwords. As an important notice, the login and all the process like credentials verification, email validation and everything else it's done via Server Side and not with JavaScript, only the way these processes are handled it's done with JavaScript for a better and more friendly user interface. The backend processes are also handled by the class, but you can read the documentation for further information.

But this isn't all you get with this item. You also get a custom User Interface and a good looking style not just for the forms but for the Admin backend too. And more, besides the CSS , this item's style has been developed on a LESS platform so changing the look and feel would be easier and more comfortable.



Further features are to be implemented, a small list of what is to come next would be this:
Search Tool ( to ease the way you look through all the users, a search tool will be implemented )
Ticket Submitting System ( instead of notifying through an email all the users at once, a ticket system will be implemented where the admin can notify all the users or only selected users and as a user submit a ticket with problems or other )
Levels of Access ( as you***8217;ve seen, this system only supports three levels of access, but as further implementation a custom system for levels of access will be created, where you'll be able to create levels and assign the permissions for each level )
Other Data ( more data to be displayed about the users in the backend )
User Dashboard ( a simple dashboard for users where they'll be able to update the info, passwords and other )