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 / September 2005

Tip: Looking for answers? Try searching our database.

Knowing which browser is accessing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Irepan - 20 Sep 2005 18:26 GMT
I'm building a windows service to use with my installation project, this
installation will get some values from the webservice, is there a way in the
webservice to only let my program to use this webservice, i mean i don't want
IE or some other program to access this webservice but this program.
Brock Allen - 20 Sep 2005 22:57 GMT
You'll never know with 100% certainity because it's up to the client to send
a header identifying itself. Opera allows the user to change this to send
anything you want. It's typically done to fool the webserver into thinking
it's an IE client.

In any event, you can access this info via Request.Browser.

-Brock
DevelopMentor
http://staff.develop.com/ballen

> I'm building a windows service to use with my installation project,
> this installation will get some values from the webservice, is there a
> way in the webservice to only let my program to use this webservice, i
> mean i don't want IE or some other program to access this webservice
> but this program.
jberg@waveseeker.com - 21 Sep 2005 16:18 GMT
If you are using .Net 1.1 and you do NOT have the following in the
web.config for the web service, then you will only be able to get data
from it using Soap, not a browser Post or Get:

        <protocols>
        <add name="HttpPost"></add>
        <add name="HttpGet"></add>
     </protocols>

In 1.1 only "HTTPSoap" is turned on by default, not "HTTPPost" and
"HTTPGet".  I am not sure, but 1.0 may turn these on by default.

John

>You'll never know with 100% certainity because it's up to the client to send
>a header identifying itself. Opera allows the user to change this to send
[quoted text clipped - 12 lines]
>> mean i don't want IE or some other program to access this webservice
>> but this program.
William LaMartin - 23 Sep 2005 02:13 GMT
Have the webservice require a password and have the installation project
send this password with its request.

> I'm building a windows service to use with my installation project, this
> installation will get some values from the webservice, is there a way in
> the
> webservice to only let my program to use this webservice, i mean i don't
> want
> IE or some other program to access this webservice but this program.

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.