Self-made Simple verification code easy to block all advertising mass device

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

About the site verification code, we must see a lot of. Site verification code is common in the Forum registration and Post message interface form the last, usually you want to enter a few distorted images displayed in English letters and numbers, there are some are let you do less than 100 plus subtraction or random Chinese characters. The purpose of distortion is to avoid being automatically identified by the software in the image, and to make sure that you are not the same thing as the robot.

Early site registration Verification code is very simple, mostly in a relatively messy background there are several English letters, asking users to write letters. Many web sites, especially the forum, in order to prevent users to use robot automatic registration, login, irrigation, are used or simplified or complex authentication code technology.

But along with the computer judgment, analytic algorithm more and more progress, the website verifies the Code the designer also has to work diligently, will the website verification code design more and more complex is difficult to be clear, until even the human all will not recognize the level. At this time, the robot is still sending a mass of their spam information, verification code is not even useful. Even some of the forums using alphanumeric and subtraction of two of verification code form, it is really fast to kill people.

Verification and validation are progressing at the same time, why don't we just jump out of that circle and change the way we do? In the process of making a website, according to their own experience, found a simple form of verification code, as long as you know the site program can operate.

We can do this: in the website registration, post message form the last item to add a text box verification code, asking to enter a fixed text. These words can be casual letters or the middle part of the site's domain name, or simply the site itself keyword. This verification code data does not need to submit to the database, only needs to design when the content submits to the database, the Judgment text box verification code is not and we set the verification code content to be same, completes submits, does not have the same to submit the failure.

such as I in a customer's corporate website message interface with the key words of their own website "Hangzhou Iron Art" to do the verification code. In this way, when the user input keywords in the message, not only to achieve the effect of the message, but also deepened the impression of the site itself.

Even if the mass detector recognizes the code, we can switch to a new captcha for a few weeks. Common mass device can not identify this mechanism, so that after the site's guest books, forums, blogs can easily prevent automatic mass spam message. I have been on a number of web site applications, about the actual effect of how, we personally test the understanding.

Hangzhou Iron Art Company www.hztieyi.com qq:94589848

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.