Adaptive security that protects the critical