Allow Single IP to access ASP.NET Web Service (ASMX) using Firewall
- by Suresh Agrawal
I have one asp.net web service (asmx) in separate project that is hosted on windows server having other asp.net web applications running on it. How can I restrict asp.net web service to be accessed by single IP address? I want that my web service must be accessed by one IP configured by me. If requests comes from any other IP, it must not reach to my web service and discarded by windows firewall itself. I know that this is something to do with windows firewall.
I did it for SQL Server previously, but I don't know how to configure single asp.net web service project to do so.