Secure feedback form with bot detectors
Why Choose This Project?
Online feedback/contact forms are often targeted by spam bots, leading to junk data, phishing attempts, or server overload. A secure feedback form ensures that only genuine users can submit feedback while automatically filtering out malicious or automated entries. This project combines form security, bot detection, and data validation to provide a safe channel for organizations to collect user input.
What You Get in This Project
-
A secure web-based feedback form (frontend + backend).
-
Bot detection mechanisms like CAPTCHA, reCAPTCHA v3, hidden honeypot fields, and behavior-based detection.
-
Spam filtering and input sanitization to prevent XSS/SQL injection.
-
Admin panel to view, approve, or delete submitted feedback.
-
Secure storage of submissions with logging and export options.
Technology Stack
| Layer | Technology |
|---|---|
| Frontend | HTML, CSS, JavaScript, Bootstrap |
| Backend | Node.js (Express) / Java Spring Boot / Python Flask |
| Database | MySQL / PostgreSQL / MongoDB |
| Bot Detection | Google reCAPTCHA v3, Honeypot fields, Behavior analysis |
| Security | Input sanitization, CSRF protection, HTTPS |
| Auth (Admin) | JWT / OAuth2 for admin login |
Key Features
| Feature | Description |
|---|---|
| User Feedback Form | Collects feedback securely with validation |
| Bot Detectors | reCAPTCHA, honeypot fields, and abnormal request pattern detection |
| Input Sanitization | Prevents XSS, SQL Injection, and HTML injection |
| Email Notifications | Alerts admin when new feedback is submitted |
| Admin Dashboard | Secure login for admins to view/manage feedback |
| Spam Filtering | Uses keyword-based & AI-based spam detection |
| Export Data | Export feedback as CSV/PDF for reports |
| IP Blacklisting | Automatically blocks repeated spam attempts |
How It Works
1. User Submission
-
User fills in feedback form (Name, Email, Message).
-
CAPTCHA + honeypot field ensures it's a human.
2. Bot Detection & Validation
-
Backend checks:
-
reCAPTCHA v3 score
-
Hidden honeypot field (if filled → spam bot)
-
User behavior (time taken to fill, request headers)
-
-
Sanitizes input to prevent malicious code.
3. Secure Storage
-
Valid feedback stored in the database with timestamp & user IP.
-
Suspicious/spam entries flagged or discarded.
4. Notification & Dashboard
-
Admin receives email notification.
-
Admin can log in securely to view, approve, or delete feedback.
Security Features
-
CAPTCHA & Honeypot → Prevents automated submissions.
-
Input Sanitization → Blocks XSS, SQL injection, and HTML injection.
-
Rate Limiting → Prevents spam floods from the same IP.
-
CSRF Protection → Ensures only genuine requests are accepted.
-
HTTPS Enforcement → Encrypts all form submissions.
-
Audit Logs → Records all submissions and admin actions.