First implementation of security.