# Protecting signup and registration

A signup form creates an account, so it is a write in the account class, which is 8x the unit cost. Mark the route, let the page script earn a pass in the background, and check the pass before you create the account. The signup page itself stays free to read.

On WordPress, registration is an option under Settings, then Attackfee, and is off until you turn it on. On your own site, use `data-attackfee="account"` and check that class on the server.

A work pass earned for account also covers lighter classes, such as write or search, for the rest of its life: 20 actions or 15 minutes. An automated client that keeps opening accounts has to keep earning or paying.

Exact route steps are in [How to protect signup and account routes](/learn/write-surfaces/how-to-protect-signup-and-account-routes).

## Where Attackfee fits

Use this on registration, and pair it with login and password reset if those are public. See [What are Attackfee action classes?](/learn/concepts/action-classes).

- [Attackfee](/)
- [Learn](/learn)
- [Write surfaces](/learn/write-surfaces)
- [Protecting signup and registration](/learn/write-surfaces/signup-and-registration)

## Related

- [Attackfee Learning Center](/learn)
- [How to protect signup and account routes](/learn/write-surfaces/how-to-protect-signup-and-account-routes)
- [What are Attackfee action classes?](/learn/concepts/action-classes)
- [What the WordPress plugin covers, and what it does not](/learn/wordpress/wordpress-what-is-covered)
- [How to add Attackfee to a form](/learn/concepts/how-to-add-attackfee-to-a-form)

## Questions



### "Which class should I use?"

"Account, the 8x class, for signup, and usually for login and password reset as well."

### "Is registration on by default in the WordPress plugin?"

"No. Comments and login are on by default. Registration and lost password are options you turn on."

### "Does a signup pass also cover a later comment?"

"Yes, for the rest of that work pass. A heavier class covers the lighter ones until the pass ends."

### "Do new users pay money?"

"No. People never pay money. Their browser earns a work pass in the background."
