mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #31817 from composerinteralia/mediocre-joke
Remove joke in security guide [ci skip]
This commit is contained in:
commit
6b8c161fc2
1 changed files with 1 additions and 1 deletions
|
@ -551,7 +551,7 @@ Here are some ideas how to hide honeypot fields by JavaScript and/or CSS:
|
||||||
* make the elements very small or color them the same as the background of the page
|
* make the elements very small or color them the same as the background of the page
|
||||||
* leave the fields displayed, but tell humans to leave them blank
|
* leave the fields displayed, but tell humans to leave them blank
|
||||||
|
|
||||||
The most simple negative CAPTCHA is one hidden honeypot field. On the server side, you will check the value of the field: If it contains any text, it must be a bot. Then, you can either ignore the post or return a positive result, but not saving the post to the database. This way the bot will be satisfied and moves on. You can do this with annoying users, too.
|
The most simple negative CAPTCHA is one hidden honeypot field. On the server side, you will check the value of the field: If it contains any text, it must be a bot. Then, you can either ignore the post or return a positive result, but not saving the post to the database. This way the bot will be satisfied and moves on.
|
||||||
|
|
||||||
You can find more sophisticated negative CAPTCHAs in Ned Batchelder's [blog post](http://nedbatchelder.com/text/stopbots.html):
|
You can find more sophisticated negative CAPTCHAs in Ned Batchelder's [blog post](http://nedbatchelder.com/text/stopbots.html):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue