Quantum security groups