Hide WebMethod in the browser

1

I'm creating a web application with C# , ASP.NET , AJAX and JavaScript , I'm using a WebService and everything works fine, the problem is that I uploaded the application to the server to test and to open the browser console (F12 Google Chrome) I noticed that all my WebMethod appear in which sometimes I send special parameters ( IdUsuario , password , email of the user) and others that do not need to see nobody else.

My question is if there is a way that my WebMethod are not visible in any browser. In this picture you can see what I'm talking about:

    
asked by Miguel Flores 06.09.2016 в 16:36
source

1 answer

0

Well, first of all, that can not be hidden, because you need them to be visible so that they are consumable. Now, what you can do is try to protect them, here I leave an article of Protect XML Web services created by ASP.NET. Here I also leave a couple of methods ( First , < a href="http://www.aspsnippets.com/Articles/Encrypt-and-Decrypt-QueryString-Parameter-Values-in-ASPNet-using-C-and-VBNet.aspx"> Second ) simple to encrypt information.

    
answered by 07.11.2016 в 16:59