Improve Spam protection #1

Closed
opened 2023-01-21 08:36:35 +08:00 by Tetrakern · 1 comment
Tetrakern commented 2023-01-21 08:36:35 +08:00 (Migrated from github.com)

Currently, the spam protection is extremely simple (although surprisingly effective). Just a combination of limiting the number of links (can be set) and a client-side generated field (if enabled). Any bot not running JavaScript, which is the vast majority, automatically fails here. However, the field is static and could easily be fooled by more sophisticated spammers.

Anti-spam plugins should still work, so perhaps going crazy here is not necessary.

Possible Enhancements:

  • Randomized field value that must match (requires a session)
  • Hashcash (make spamming expensive)
  • Additional honeypots

Resources:

Currently, the spam protection is extremely simple (although surprisingly effective). Just a combination of limiting the number of links (can be set) and a [client-side generated field](https://davidwalsh.name/wordpress-comment-spam) (if enabled). Any bot not running JavaScript, which is the vast majority, automatically fails here. However, the field is static and could easily be fooled by more sophisticated spammers. Anti-spam plugins should still work, so perhaps going crazy here is not necessary. **Possible Enhancements:** * Randomized field value that must match (requires a session) * [Hashcash](http://www.hashcash.org/) (make spamming expensive) * Additional honeypots **Resources:** * Partial: [_comments_controller.php](https://github.com/Tetrakern/fictioneer/blob/main/includes/functions/comments/_comments_controller.php) * Option: `fictioneer_require_js_to_comment` * Action: `fictioneer_preprocess_comment`
Tetrakern commented 2024-05-11 22:05:12 +08:00 (Migrated from github.com)

Since there has not been any issue with spam yet that could not be dealt with, I'm closing this

Since there has not been any issue with spam yet that could not be dealt with, I'm closing this
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: malhuda/fictioneer#1
No description provided.