# Hardening

> Hardening is the engineering work that fixes the weaknesses a security review has found and closes the gaps around them, with a test for each fix so it stays fixed.

Source https://rareagentics.com/glossary/hardening

## Why does it matter to a buyer?

It is the follow-on work to a security review, which tells you what is wrong and in what order to fix it. Hardening is the fixing, such as tightening access rules, moving keys to the server and adding rate limits. It is not a penetration test or a certification.

## An example

For example, hardening might add row-level security policies to every table, move a secret key out of browser code and put a limit on sign-in attempts.

## Related terms

- [Security review](https://rareagentics.com/glossary/security-review)
- [Retest](https://rareagentics.com/glossary/retest)
- [Regression test](https://rareagentics.com/glossary/regression-test)
- [Least privilege](https://rareagentics.com/glossary/least-privilege)

---

Rare Agentics is a UK software and AI agent engineering firm based in London. Rare Agentics Limited, company number 17494524. Contact hello@rareagentics.com or https://rareagentics.com/contact. Book a call at https://rareagentics.com/book-a-call.
