The security engineer is requesting that under certain conditions the application (MVC4 c#) should not send a response.
This way an attacker is unable to extract any information about the service (e.g. if we send the usual 401 unauthorized then the attacker knows their credentials did not work).
How can I achieve this?
UPDATE This is not a question to discuss the decision of 'do it vs not do it'. I need to know if it is technically possible to achieve this outcome with ASP.NET C# MVC.