Least Privilege One strategy used to prevent this sort of breach is to restrict privileges for user and administrator accounts. By implementing the principle of least privilege, an administrator would not have rights to access sensitive production databases within AWS and access the development environment in GitHub.