Implementing Security Layers