0

Is there a way to restrict asmx to be accessed local only? I have an webservice just for jquery, I don't want to expose it.

Adrian Iftode
  • 15,465
  • 4
  • 48
  • 73
Alexandre
  • 7,004
  • 5
  • 54
  • 72

1 Answers1

0

You can configure allowed ip addresses on IIS.

For IIS 6, For IIS 7

Or you can check IP address of client and its not local ip can throw exception or do whatever you like.

arunes
  • 3,464
  • 2
  • 21
  • 31