Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2006

Tip: Looking for answers? Try searching our database.

Restrict Access to WebService to Certain Client URLs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eeraj - 07 Feb 2006 16:54 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.