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.
Asked
Active
Viewed 284 times
0
-
3jquery runs client-side - so what do you mean by local access? – jmaglio Feb 29 '12 at 15:21
-
Do you mean to be accessed only by jquery and not from the navigation bar or anything else? – Adrian Iftode Feb 29 '12 at 15:38
-
@jfmags you're correct, i miss this info. – Alexandre Feb 29 '12 at 16:11
1 Answers
0
You can configure allowed ip addresses on IIS.
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