I have got a web service programmed in c# / asp.net.
[WebService(Namespace = \"http://example.com/\")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProf
The return Forbid(); creates a ForbidResult (Status403Forbidden by default).
return Forbid();
https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.controllerbase.forbid?view=aspnetcore-3.1