# Protecting a comment section

A public comment box is a write surface. Each accepted post is storage and review time. Mark the comment route as a write, let the page script earn a pass in the background, and refuse a post that has no valid pass. People still read the thread for free.

On WordPress, the official plugin covers comments by default. On your own site, serve `attackfee.js` from your origin, mark the form with `data-attackfee="write"`, and check the pass before you store the comment.

That same pattern works on a static HTML page. The script and the form can live in static files. The post still has to go to a server you run, such as the Node issuer or a small handler that verifies the pass. Attackfee does not provide a hosted comment service today.

Exact markup is in [How to protect a comment form from bots](/learn/write-surfaces/how-to-protect-a-comment-form) and [How to add Attackfee to a form](/learn/concepts/how-to-add-attackfee-to-a-form).

## Where Attackfee fits

This is an ordinary write: 4x work, with one work pass covering 20 actions for 15 minutes. An illustration of the same surface is in [A comment thread overnight](/learn/write-surfaces/a-comment-thread-overnight).

- [Attackfee](/)
- [Learn](/learn)
- [Write surfaces](/learn/write-surfaces)
- [Protecting a comment section](/learn/write-surfaces/comment-sections)

## Related

- [Attackfee Learning Center](/learn)
- [How to protect a comment form from bots](/learn/write-surfaces/how-to-protect-a-comment-form)
- [A comment thread overnight](/learn/write-surfaces/a-comment-thread-overnight)
- [How to install the Attackfee WordPress plugin](/learn/wordpress/how-to-install-the-wordpress-plugin)
- [How to add Attackfee to a form](/learn/concepts/how-to-add-attackfee-to-a-form)

## Questions



### "Does this moderate comment text?"

"No. Attackfee checks the pass, not the body. Your own moderation still applies after a pass is accepted."

### "Can I use this on a static site?"

"You can put attackfee.js on a static HTML page and mark the form. The post still has to hit a server you control that checks the pass. There is no hosted comment service in Attackfee today."

### "Is this on by default in WordPress?"

"Yes. The plugin covers comments by default. Page views stay free."

### "Is the hosted demo a comment thread?"

"No. It is a contact form. The local demo includes a comment thread."
