Setting up security.