Introduction
Personal Management System Now there are a lot of problems, welcome to fix bugs and add features.
Today I will refine the login section. QQ Group: 152448006
Address:
498) this.width=498; ' OnMouseWheel = ' javascript:return big (This) ' alt= ' \ ' src= ' http://www.bkjia.com/uploadfile/2013/ 0904/20130904095441630.png "/>
Login
The sign-in section says simple is also simple, said difficult also difficult! But it's not easy to do well.
I have considered two factors:
1, convenience. Users are lazy, so it is generally less like to enter too much content of the login interface.
2, security: First to prevent Dos attacks, many people think of is the verification code, I also. So I will check your verification code in the background at the fourth login error.
Verification code check or to go through your entire PHP application, I personally recommend the PHP application layer before the attack IP is sealed off. But I do not have such a good hardware condition, so I just made a simple application (in the database, or to go through the PHP application), waiting for future conditions to be placed directly on other applications (such as memcached).
Login process
1. Open the page:
498) this.width=498; ' OnMouseWheel = ' javascript:return big (This) ' alt= ' \ ' src= ' http://www.bkjia.com/uploadfile/2013/ 0904/20130904095441688.png "/>
1) If the user has logged in more than three times, the verification code will be displayed when the page is opened.
2) if more than 6 times, then directly block out the network IP.
2. Login operation
498) this.width=498; ' OnMouseWheel = ' javascript:return big (This) ' alt= ' \ ' src= ' http://www.bkjia.com/uploadfile/2013/ 0904/20130904095441120.png "/>
1) block the IP, we determine whether the IP login more than 6 times.
2) When verifying the account number, we determine whether the verification code is judged based on the verification count.
Thank
http://www.bkjia.com/PHPjc/445656.html www.bkjia.com true http://www.bkjia.com/PHPjc/445656.html techarticle Introduction Personal Management system Now there are a lot of problems, welcome to fix bugs and add features. Today I will refine the login section. QQ Group: 152448006 Address: 498) this.width=498;