How to restrict external user from accessing asmx service?
How to restrict external user from accessing asmx web service?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Joginder BangerRank #360 · 7K reputationPosted Aug 2, 2016, 2:36 AM EDT
source: Statckoverflow.com
Go to the File Security tab, and Click the Edit button in the IP Address and domain name restrictions.
Click the 'Denied Access' radio button, then add your whitelisted ip addresses to the list.
For IIS 7.5, it's a little tricky as the file doesn't show in the navigation panel. You need to go to the Content View tab (in the lower part of the window), right click on your file and choose Switch to Features View. Open IP Address and Domain Restriction, click on Edit Feature Settings and choose to deny unspecified hosts. Now you can add authorizations by clicking on Add Allow Entry