[security] Introduce security layer.