How does Security function work?