Hexret

Web Security · Business Logic

Business Invariant

A testable condition about authoritative business state that must remain true after each committed operation. For example, one order may have at most one captured charge. A valid authorization check does not prove the final state is valid; enforce the condition where the state change commits.

Where you practice it

Related terms