# Protecting product reviews and ratings

A review or rating form is a write: it stores a new opinion, a score, or both, and it can change what later visitors see. Mark it, let the page script earn a pass while someone types, and check the pass before you accept the post. People never pay money. Reading the listing stays free.

You can add this to a plain HTML page:

```html
<script src="/attackfee/v1/attackfee.js" async></script>
<form method="post" action="/reviews" data-attackfee="write">
  <button type="submit">Post review</button>
  <noscript>This form needs JavaScript.</noscript>
</form>
```

Serve that script from your own origin. The Node issuer can serve it at `/attackfee/v1/attackfee.js`. The script is not enough on its own: the server that receives the post still has to check the pass.

The WordPress plugin does not wrap an arbitrary review form on its own. Comments and login have their own coverage. A review form in a theme or in another plugin uses `data-attackfee` and `attackfee_wp_verify_request('write')`, the same path as other theme forms.

A pass does not mean the review is genuine, and it does not sort helpful reviews from junk. It changes the price of posting at volume. You still moderate what gets through.

## Where Attackfee fits

See [Why review forms attract automated volume](/learn/write-surfaces/why-review-forms-attract-automated-volume), [How to add Attackfee to a form](/learn/concepts/how-to-add-attackfee-to-a-form), and [WordPress theme forms the plugin does not wrap](/learn/wordpress/wordpress-theme-forms-the-plugin-does-not-wrap).

- [Attackfee](/)
- [Learn](/learn)
- [Write surfaces](/learn/write-surfaces)
- [Protecting product reviews and ratings](/learn/write-surfaces/product-reviews-and-ratings)

## Related

- [Why review forms attract automated volume](/learn/write-surfaces/why-review-forms-attract-automated-volume)
- [A review form overnight](/learn/write-surfaces/a-review-form-overnight)
- [Protecting a comment section](/learn/write-surfaces/comment-sections)
- [Why Attackfee does not replace moderation](/learn/write-surfaces/why-attackfee-does-not-replace-moderation)
- [How to add Attackfee to a form](/learn/concepts/how-to-add-attackfee-to-a-form)
- [WordPress theme forms the plugin does not wrap](/learn/wordpress/wordpress-theme-forms-the-plugin-does-not-wrap)
- [Widget](/docs/widget)

## Questions



### "Does the WordPress plugin wrap review forms on its own?"

"No. Comments and login have their own coverage. A review form in a theme or plugin is a form you mark and check, the same way as other theme forms."

### "Does the script read the review?"

"No. It never reads or sends the fields in the form."

### "Can people still read existing reviews?"

"Yes. Reading stays free. Only the route that stores a new review or rating needs a pass."

### "Does a pass replace review moderation?"

"No. A pass means the write paid its cost. Deciding what to publish is still your job."
