all groups > dotnet web services > february 2006 >
You're in the

dotnet web services

group:

Restrict Access to WebService to Certain Client URLs


Restrict Access to WebService to Certain Client URLs Eeraj
2/7/2006 8:54:27 AM
dotnet web services:
I would like to restrict access to my ASP.NET web services so that they can
be accessed only by clients from specific ASP.NET based sites.

Example:

I want to grant access to http://mycomputer/website1 but deny access to
http://mycomputer/website2.

In IIS, I see that restriction by IP and domain is possible, but was
wondering if there is a configuration entry in web.config that would
RE: Restrict Access to WebService to Certain Client URLs Ken Carter
2/17/2006 5:49:00 AM
This isn't a complete answer however, what you want to do could be done
fairly straight forward by setting up a main page that would look at the page
the browser came from. Take that information and progamaticly tie it into
membership services and you'd have your effect.

[quoted text, click to view]
AddThis Social Bookmark Button