473,385 Members | 1,645 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,385 software developers and data experts.

Prevent Direct Use

I have a web service that I only want a consuming entity to use. In other
words I do not want someone having the ability to plug in the URL to the web
service in their browser and be able to invoke my methods that way. An
application consuming it should only be allowed to do so.

Any ideas how do implement this?

--
-Demetri
Nov 23 '05 #1
4 900
You'll need to implement authentication for your web service and have the
consumer pass the correct credentials to the web service when it calls it.
"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
I have a web service that I only want a consuming entity to use. In other
words I do not want someone having the ability to plug in the URL to the
web
service in their browser and be able to invoke my methods that way. An
application consuming it should only be allowed to do so.

Any ideas how do implement this?

--
-Demetri

Nov 23 '05 #2
Explain? How?
--
-Demetri
"Scott M." wrote:
You'll need to implement authentication for your web service and have the
consumer pass the correct credentials to the web service when it calls it.
"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
I have a web service that I only want a consuming entity to use. In other
words I do not want someone having the ability to plug in the URL to the
web
service in their browser and be able to invoke my methods that way. An
application consuming it should only be allowed to do so.

Any ideas how do implement this?

--
-Demetri


Nov 23 '05 #3
http://www.google.com/search?sourcei...authentication

"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
Explain? How?
--
-Demetri
"Scott M." wrote:
You'll need to implement authentication for your web service and have the
consumer pass the correct credentials to the web service when it calls
it.
"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
>I have a web service that I only want a consuming entity to use. In
>other
> words I do not want someone having the ability to plug in the URL to
> the
> web
> service in their browser and be able to invoke my methods that way. An
> application consuming it should only be allowed to do so.
>
> Any ideas how do implement this?
>
> --
> -Demetri


Nov 23 '05 #4
Also note the URL only works on the server not client machines.

Clients can use VS to generate a proxy and code a connection , to prevent
this you need authentication.

Regards ,

Ben

"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
I have a web service that I only want a consuming entity to use. In other
words I do not want someone having the ability to plug in the URL to the
web
service in their browser and be able to invoke my methods that way. An
application consuming it should only be allowed to do so.

Any ideas how do implement this?

--
-Demetri

Nov 23 '05 #5

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

Similar topics

22
by: Bryan Rickard | last post by:
I wrote a simple program in VB6 to copy all the files from a directory on a CD-ROM to my hard disk. There are about 10 files, each about 30MB. The program uses Get and Put to get data from the...
2
by: Mike Brearley | last post by:
I have a counter (alright one I found on asp101.com) that checks for a session variable to prevent the counter from incrmenting if a user refreshes the page or returns to the page during the same...
7
by: JimO | last post by:
I teach HS computers and one of my kids has a web site with a textbox of info that the user can scroll down and read. The problem is that users can also enter text into it. Is there a way, or a...
6
by: patrick t music-images dt nl | last post by:
Hi, I'm evaluating Visual Studio and the .NET concept for his company, which is currently using Borland C++ Builder. Now I tried to create components/controls etc. in .NET and I can reuse it...
3
by: Ryan Liu | last post by:
Can someone give a sample to prevent a row from being deleted in a datatable? I tried e.Row.RejectChanges(); in dt_RowDeleting() but seems does not work. I need verify if there other data...
3
by: Ben | last post by:
Hello I am in the final stages of developing my asp.net app and have a question. The app im creating has two frames, one being a menu and the other showing the detail. I would like to prevent...
5
by: Bill Davidson | last post by:
All: Pardon the newbie question, but let's say I've got two pages in my website: Welcome.aspx NoNav.aspx I want users to be able to navigate to the welcome.aspx page (e.g....
7
by: perryche | last post by:
Is there a way with MS Access 2002 and above to prevent people importing from a blank Database the tables in another database? I have done a lot of searches but there isn't really a solution that...
4
by: =?Utf-8?B?QXNhZg==?= | last post by:
Hi, How can I prevent from an ASP.NET page to resend all the data again when the user press the Refresh button or F5 on the browser? Thanks in advanced, Asaf
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.