WDNS - Secure Forms
Privacy-friendly and security-focused form management for WordPress, with a configurable form builder, submission management and security checks.
WDNS Secure Forms provides configurable forms for WordPress using a shortcode, server-side validation and a REST API submission endpoint. It is designed to work without externally hosted frontend libraries.
Features include:
- Form builder with text, email, telephone, number, URL, textarea, hidden, radio, checkbox, select and file upload fields.
- Required fields, selectable options and field configuration.
- AJAX-based submissions and server-side validation.
- Configurable email recipients, HTML email formatting, field mapping and signatures.
- Per-form submit button text and customizable submission messages.
- File delivery options: private backend storage, private storage with email attachment, or email attachment without persistent file storage.
- Administrative submission management, security audit records and configurable retention.
- Optional IP blocking and IP blocklists.
- Upload and activate WDNS Secure Forms using the WordPress Plugins screen.
- Open Secure Forms in the WordPress administration area and create a form.
- Configure its fields and email recipients.
- Add the shortcode [wdns_form id="contact"] to a page, replacing contact with your form ID.
- Test submissions, email delivery, file uploads (if enabled) and retention settings before using the form on a production site.
PHP 8.4 or later is required. The release package includes its own autoloader; Composer is not required for a normal WordPress installation.
Third-Party Libraries
The following third-party components are bundled in the 1.1.0 release:
- WP Package Updater (Alexandre Froger), in lib/wp-package-updater/: integration with the configured plugin update server. The bundled source identifies version 1.4.3; consult its included LICENSE file (GPLv3).
- Plugin Update Checker 5.1 (Janis Elsts), in lib/plugin-update-checker/: checks for plugin updates; MIT license, as documented in the bundled license.txt.
- Parsedown components, within lib/plugin-update-checker/vendor/: used internally by the update checker to process readme content. See the bundled package files for license details.
The plugin also uses WordPress core APIs, native PHP functions and its own JavaScript. The included vendor/autoload.php is the project's autoloader, not an additional third-party runtime library. PHPUnit is a development/test dependency and is not included as a runtime library in the release.
Does the plugin require an external form service?
No external form-processing service is required. Forms are processed by the WordPress installation. The bundled update checker contacts the configured WDNS update server during update checks. Optional external IP blocklists are retrieved when configured.
Can I customize the submit button and response messages?
Yes. These texts can be configured individually in each form's settings. Empty values use the built-in defaults.
Where are uploaded files stored?
Depending on the form's file delivery setting, uploads can be saved to private storage, attached to email, or attached to email without persistent file storage. Configure and test the selected mode before deployment.
Does file validation replace malware scanning?
No. Extension and MIME checks reduce risk but do not replace antivirus or content inspection.
Is email delivery guaranteed?
No. Delivery depends on the WordPress mail configuration and the receiving mail infrastructure.
The following checks and safeguards are implemented in the 1.1.0 submission and administration code. They are defense-in-depth measures, not a guarantee against all spam or attacks.
Request and token validation
- POST-only submission endpoint and request body size limits.
- Origin checks against the configured site URL.
- Fetch Metadata checks to reject disallowed cross-site request contexts when the relevant header is provided.
- Session-bound, form-bound, expiring, single-use submission tokens.
- Strict token format validation, HMAC-SHA-256 token hashing and timing-safe comparison.
- Replay and cross-form token misuse rejection.
Anti-abuse protections
- Honeypot checks and minimum submission time checks.
- IP-based and session-based rate limiting.
- Local IP blocking and optional configured IP blocklists.
- Client IP validation using REMOTE_ADDR rather than trusting forwarded IP headers for this check.
Input and upload validation
- Server-side validation against stored form definitions.
- Rejection of unknown submitted fields.
- Required-field, length, type and configured-option checks.
- Email, URL, numeric and other field-specific validation as applicable.
- Upload count and size limits, allowed extensions and detected MIME type checks.
- PHP HTTP-upload origin verification.
- Private upload storage when persistent storage is enabled.
Administration and auditing
- WordPress capability and nonce checks for protected administration actions.
- Access-controlled stored-file downloads.
- Submission security audit records and configurable retention/deletion of submissions.
Security-related checks may reject requests from unusual browser or proxy configurations. File validation is not antivirus scanning. Site administrators remain responsible for keeping WordPress, PHP, the web server and mail infrastructure updated.
Privacy and External Connections
Form data is processed on the site's WordPress server. Administrators control the configured recipients, storage mode and retention settings. Depending on configuration, submissions and files may be stored locally and transmitted to email recipients.
The bundled update checker contacts the configured WDNS update server. Optional externally hosted IP blocklists may result in requests to third-party services. Review these connections and your site's privacy notice before enabling them.
1.1.0
- WordPress dashboard widget with seven-day submission and security-event statistics.
- Dedicated dashboard page with 7, 14, 21 and 28-day views, AJAX filters and aggregated IP security events.
- Client IP and User-Agent details in new security audit records.
- Placeholder option and formatted text content fields in the form builder.
- Submission bulk-selection deletion fix and dashboard presentation improvements.
1.0.1
- Stable release with form builder, submission management and security audit functionality.
- Per-form customizable submission messages and submit button label.
- File upload delivery options, including email-only attachments.
- Knowledgebase and administration interface refinements.
Upgrade Notice
Back up your WordPress database and plugin configuration before upgrading. Verify form submissions and email delivery after updating.
File has been read by: HTTP(s) Request
Page rendered by WDNS Readme Parser in 0.00042 seconds.
The WDNS DEVOPS portal is currently under developement!
The UX, the content and further information will be available in the coming weeks.
