Market Competition for Security Measures