
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
protect_via_honeypots
Advanced tools
h1. protect_via_honeypots
In the never ending battle with the form bots, here's my attempt to mislead them. protect_via_honeypots creates some hidden fields. As normal users don't mess with hidden fields we can assume that when those fields are filled with data: a bot filled it. So when that happens, protect_via_honeypots throws an error (as the same way protect_from_forgery does)
h2. Installation
Install the protect_via_honeypots gem:
sudo gem install protect_via_honeypots
Add protect_via_honeypots in environment.rb as a gem dependency:
config.gem "protect_via_honeypots"
Or place it in your Gemfile
gem "protect_via_honeypots"
h2. Usage
Place the following in your application_controller.rb
protect_via_honeypots
And your done!
h1. Note on Patches/Pull Requests
h1. Copyright
Copyright (c) 2010 Roy van der Meij. See LICENSE for details.
FAQs
Unknown package
We found that protect_via_honeypots demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.