Added SQL injection attack protection.