473,796 Members | 2,595 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to restrict web service invokation to a few known web sites?

Greetings,

I need to create a web service to be called by a few of our external
affiliated web sites. How can I restrict web service invokation to only
these affiliated web sites?

Some of the things I came up with, but seems weak
1. Check caller's url and only accept those that are in a list of authorized
web sites. But hacker can spoof the url
2. Give each site a user name and password to send over with every call. But
we can't count on them to secure this info appropriately
3. Using x509. But that seems to be overkill. We would consider this as the
last resort.

The one thing I will stick to is requiring the web service to be called over
SSL. Unless there is some draw back to that.

Please share with me your thoughts and recommendation. Many thanks in
advance.
Jun 3 '06 #1
3 2145
"Andrew V" <aa*@aaa.aaa> wrote in message
news:OW******** ******@TK2MSFTN GP04.phx.gbl...
Greetings,

I need to create a web service to be called by a few of our external
affiliated web sites. How can I restrict web service invokation to only
these affiliated web sites?


Andrew,

you can use IIS security setting to set only allowed IP addresses to access
the web application (service).
SSL will require you to buy client certificates for each client which may be
not the best solution.

Regards,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MVP, MCT, MCSD, MCPD

Jun 5 '06 #2
Thanks for replying Martin.

I'm worry that allowing access by ip is not strong enough as a hacker can
spoof the ip. What's your assessment of that threat?

Thanks,
Andrew.

"Martin Kulov [MVP]" <ku***@bezboklu k.abv.bg> wrote in message
news:uL******** ********@TK2MSF TNGP03.phx.gbl. ..
Andrew,

you can use IIS security setting to set only allowed IP addresses to
access the web application (service).
SSL will require you to buy client certificates for each client which may
be not the best solution.

Regards,

--
Martin Kulov
http://www.codeattest.com/blogs/martin

MVP, MCT, MCSD, MCPD

Jun 5 '06 #3
"Andrew V" <aa*@aaa.aaa> wrote in message
news:OV******** ******@TK2MSFTN GP04.phx.gbl...
Thanks for replying Martin.

I'm worry that allowing access by ip is not strong enough as a hacker can
spoof the ip. What's your assessment of that threat?


Well, I do not see how an Internet user can change its IP address and still
receive the response from server.

I am not a security expert but this article says so also [1].
"Misconcept ions of IP Spoofing

While some of the attacks described above are a bit outdated, such as
session hijacking for host-based authentication services, IP spoofing is
still prevalent in network scanning and probes, as well as denial of service
floods. However, the technique does not allow for anonymous Internet access,
which is a common misconception for those unfamiliar with the practice. Any
sort of spoofing beyond simple floods is relatively advanced and used in
very specific instances such as evasion and connection hijacking. "

[1] http://www.securityfocus.com/infocus/1674
HTH,
Martin

Jun 7 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2443
by: Mark | last post by:
Hi I have two SQL2000 servers in different sites, once a day approximately 1M of data in the form of a large update is required to be transfered between the 2. We have use of a 2M pipe between the servers but there is no quality of service, the other users on the pipe are traders so there must be no interruption in the quality of their bandwidth at any time. Is there any way of throttling back the data transfer between the two servers...
28
6425
by: gc | last post by:
Hi, What is the purpose of the restrict keyword? gc
8
2495
by: murphy | last post by:
I'm programming a site that displays info from AWS Commerce Service 4.0. At each change of the asp.net application the first load of a page that uses the web service takes 30 seconds. Subsequent calls are snappy. From what I've learned this overhead is for processing the wsdl file (which has of course not changed). The file is large, 2200 lines. Is there a way to use this file locally on the web server or cache the result of the...
2
1776
by: John A | last post by:
I have a Web Service that I am reponsible for that we use for data integration purposes. Recently I have been tasked with sending some of this data to a third party. Because they need to receive the data in real time. They have requested that I subscribe to a Web Service that they have published. The only problem is that they often take longer than 30 seconds to process my data before I get a response back from them. This is taking far...
2
8433
by: Fernando Cacciola | last post by:
Hi, I'm having a very strange problem with VC8 When compiling a library called gmp (v 4.1.4); with win32 patches applied for VC7 (VC8 is not directly supported yet), I get this error all over pretty much every system header: C2485 __restrict__ is an invalid attribute.
1
2011
by: Nestor | last post by:
Hello all, I'm begining in the web services world and I've reading about how to invoke them using javascript from Mozilla browser (version 2.0 in my case). I found a very interesting example here: http://www.mozilla.org/projects/webservices/examples/babelfish-wsdl/index.html The problem I have is this: When I try to adapt the invokation on the
5
4263
by: sonali_reddy123 | last post by:
Hello all, I am trying to develop an application which will run as a windows service. The application should have Normal options available with service like start, stop and pause but along with this I need an option to show the windows application which my service has started as a result of its invokation. So I have written a service control by adding a new project of type
5
5551
by: KyloMan | last post by:
Hi...i`m getting an error that lookks like that...name or service not known when i try to get .tgz or .tar.gz files...why ? when i try to enter on sites that contains .tgz or tar.gz files...it shows the same...but google works ..yahoot too...and all other sites that doesn`t have .tgz or tar.gz files...Can you help me.. 10x :)
1
2080
by: woshicike | last post by:
Hi, I created a web service. When I place it under visual studio development server, the asynchronous invokation of web methd works fine. But when I publish the web service under IIS 5.1, the asynchronous invokation of web method doesn't work. Does anybody have some comments?
0
9679
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9527
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10223
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.