Skip to main content

This site is for educational purposes only. Nothing here constitutes financial advice.

Back to all terms
security

Access Control

The mechanism by which a smart contract restricts who can call sensitive functions. Common patterns: a single owner address (Ownable), role-based permissions (OpenZeppelin's AccessControl), or multisig governance. The most common smart-contract bug class is missing access control — a function intended to be admin-only that has no modifier, allowing any address to call it. The fix is mechanical: every state-changing administrative function needs an `onlyOwner` modifier or equivalent require check.

Related terms

Every glossary term is educational only. Nothing on this page constitutes financial, investment, tax, or legal advice. Browse all 356 terms →