Smart Contract Security and Access Controls
It is a very complex, cumbersome, and difficult task to write a perfect smart contract that addresses all the best practices and security considerations to be taken care of. To prevent unauthorized use of smart contract functions, it is necessary to implement secure access controls. Access control mechanisms restrict the ability to use certain functions in a smart contract to approved entities, such as accounts responsible for managing the contract. This chapter will introduce you to the concepts of smart contract security, access controls, security tools, audit functions, and common threats to consider when developing smart contracts.
In this chapter, we’re going to cover the following main topics:
- Understanding smart contract security
- Understanding smart contract access controls
- Understanding smart contract security tooling and audits