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
allow/deny on a per site basis.
Ken Carter - 17 Feb 2006 13:49 GMT
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.
> 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.
[quoted text clipped - 7 lines]
> wondering if there is a configuration entry in web.config that would
> allow/deny on a per site basis.