# What is write-side security?

Write-side security is a way to protect a public site by putting a cost on the routes that change something, and leaving the read half open. Pages, docs, and other GET requests stay free to cache and crawl. Comments, signups, logins, posted search, and write APIs need a pass.

Attackfee is built on that split. The tagline is "Open to read. Priced to write." A visitor's browser earns a work pass in the background. An automated client can do the same work, or, on attackfee.dev, pay per write over HTTP 402. The product does not score the caller and does not block crawlers.

This is a different job from a bot score, a block list, or a page-view gate. Those tools try to guess who is calling, or they hide the site from new readers. Write-side security asks whether the write paid its cost.

## Where Attackfee fits

If a route only returns data, leave it unmarked. If a route stores a comment, creates an account, or otherwise changes something, mark it and check the pass on the server. See [What is a write surface?](/learn/concepts/what-is-a-write-surface) and [Open to read, priced to write](/learn/concepts/open-to-read-priced-to-write).

- [Attackfee](/)
- [Learn](/learn)
- [Concepts](/learn/concepts)
- [What is write-side security?](/learn/concepts/what-is-write-side-security)

## Related

- [Attackfee Learning Center](/learn)
- [What is a write surface?](/learn/concepts/what-is-a-write-surface)
- [Open to read, priced to write](/learn/concepts/open-to-read-priced-to-write)
- [What is Attackfee?](/learn/concepts/what-is-attackfee)
- [Docs](/docs)

## Questions



### "Is this the same as locking down a whole site?"

"No. Write-side security leaves pages, docs, and other GET requests open. The cost sits on the write."

### "Does it identify who is writing?"

"Attackfee does not. It prices the action, not the caller."

### "Does it stop a flood of packets?"

"No. It prices a finished HTTP request after it has reached your server. Keep your host's flood defense."

### "Where does Attackfee fit?"

"On comments, signups, logins, posted search, and write APIs. Reading those same resources stays free."
