We have these SOAP methods running on a single .asmx URL. But we would like to hide some methods from a given user. We have 2 users, each one shouldn’t see the methods used by the other.
I think we need to separate the methods in different URLs, but maybe it isn’t enough. Should we use separate projects? Is there any ASP.NET or IIS feature that allows us to do it easily?
Unfortunately, you can’t hide Web methods. Webservice public method marked with WebServiceAttribute attribute will be exposed.