Self-Protection Mechanisms for Web Applications A Case Study