Base security implementation