473,396 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Private webservice?

Hello everyone,

I'm reasonably new to webservices, and have been playing around with
creating one in VS .NET, and then writing another app, and adding a web
reference to it to communicate with my web service. What I was wondering, is
if someone got the URL to this web service, are they free to use it? I'd
like to be able to create one for private use, to post data to my website.
Is this possible?

Cheers.
Nov 15 '05 #1
4 1289
Hi Hugh,

"Hugh" <hy**@softhome.net> wrote in message
news:u4**************@tk2msftngp13.phx.gbl...
Hello everyone,

I'm reasonably new to webservices, and have been playing around with
creating one in VS .NET, and then writing another app, and adding a web
reference to it to communicate with my web service. What I was wondering, is if someone got the URL to this web service, are they free to use it? I'd
like to be able to create one for private use, to post data to my website.
Is this possible?


If you create a web service on a public web server, then anyone else can
see and use that web service, yes. Googling "web service security"
(especially in Google Groups) will give you some ideas about how to deal
with this. Be warned, however, this is a complex subject and there is not
much out-of-the-box support for this kind of think in .NET 1.x.

Regards,
Dan
Nov 15 '05 #2
"Daniel Pratt" <ko******************@hotmail.com> wrote in message
news:u%***************@TK2MSFTNGP10.phx.gbl...
Hi Hugh,

"Hugh" <hy**@softhome.net> wrote in message
news:u4**************@tk2msftngp13.phx.gbl...
Hello everyone,

I'm reasonably new to webservices, and have been playing around with
creating one in VS .NET, and then writing another app, and adding a web
reference to it to communicate with my web service. What I was wondering,
is
if someone got the URL to this web service, are they free to use it? I'd
like to be able to create one for private use, to post data to my
website. Is this possible?


If you create a web service on a public web server, then anyone else

can see and use that web service, yes. Googling "web service security"
(especially in Google Groups) will give you some ideas about how to deal
with this. Be warned, however, this is a complex subject and there is not
much out-of-the-box support for this kind of think in .NET 1.x.

Regards,
Dan

Thanks Dan, appreciate your help.

If I was to implement my methods by including username and password
arguments, and get the client application to pass these credentials each
time it calls a method from the webservice, would this be secure enough?

Also, what are the chances of people actually finding a webservice on a
public server if its location is not published? Would search
engines/crawlers be able to pick it up?

Cheers, Hugh
Nov 15 '05 #3
> If I was to implement my methods by including username and password
arguments, and get the client application to pass these credentials each
time it calls a method from the webservice, would this be secure enough?
Practically yes, if you use SSL and check the server cert, passing the
credentials is a decent way.
Also, what are the chances of people actually finding a webservice on a
public server if its location is not published? Would search
engines/crawlers be able to pick it up?


I think VS.NET publishes the locations (disco files?), and there is some
kind of auto-detection available. I'm not sure if that's only for machines
with VS.NET installed though. Search engines might grab them if there was a
link to it. Also, if you have a way to browse directories, people could see
the .asmx files.

You might want to look into the Web Service Enhancements (WSE, search MSDN).
They have some security enhancements that might help you out.

-mike
MVP

Nov 15 '05 #4
On Fri, 14 Nov 2003 10:33:37 +1300, "Hugh" <hy**@softhome.net> wrote:
Hello everyone,

I'm reasonably new to webservices, and have been playing around with
creating one in VS .NET, and then writing another app, and adding a web
reference to it to communicate with my web service. What I was wondering, is
if someone got the URL to this web service, are they free to use it? I'd
like to be able to create one for private use, to post data to my website.
Is this possible?

Cheers.

If they're all on the same box, and the client has to get the WSDL file, why not
set the target machine has http://localhost/... ??

Also, your service could probably get the peer address...

/steveA
Steve Alpert
my email Fg**********@vqk.pbz is encrypted with ROT13 (www.rot13.org)
-------------------------------------------
NOTICE OF CONFIDENTIALITY
-------------------------------------------
The information in this email, including attachments, may be confidential
and/or privileged and may contain confidential health information. This
email is intended to be reviewed only by the individual or organization
named as addressee. If you have received this email in error please
notify IDX immediately--by return message to the sender or to
se******@idx.com--and destroy all copies of this message and any
attachments. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent
those of IDX. Confidential health information is protected by state and
federal law, including, but not limited to, the Health Insurance
Portability and Accountability Act of 1996 and related regulations.
Nov 15 '05 #5

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

Similar topics

6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
1
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS)...
1
by: timb | last post by:
Hi all, am developing an vb dotnet application (windows exe) which references a (vbdotnet) dll. This dll makes use of a webservice and as such has a webreference set in the visual studio project...
0
by: Waldek | last post by:
Anybody knows how access private key X509Certificate from CertificateStore (Microsoft.Web.Services2.Security.X509.X509CertificateStore namespace) to encrypt/decrypt data. Below code in...
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
5
by: AliR | last post by:
Hi Everyone, I have a Visual C++ MFC program, and I am trying to use a webservice written in C#. When I add the webservice to my project using Add Web Reference the sproxy compiler complains...
0
by: Chris Fink | last post by:
I have walked through all of the WSE 3 Hands on Labs and got everything working fine. When I create my own certificate and install it in the stores, my client application that is consuming my WSE...
0
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System;...
8
by: =?Utf-8?B?RGFuTQ==?= | last post by:
Can someone help with the following problem. I am sending an encrypted SOAP message to a .NET 2.0 + WSE 3.0 web service. When .NET attempts to decrypt the message it cannot read the private key...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.