Implement security checks