The reason why these firewalls prompt the user to allow access is because
they are application based. This means that when a certain application
attempts to access internet resources, the firewall kicks in to:
1. Determine which application initiated the connection
2. If there are any firewall rules that will allow/disallow the connection.
If the firewall finds rules for the app, then they are executed. If not,
then the firewall prompts the user for next steps.
I know the Windows Firewall is programmable. This means that you can add
your own application to the list of applications and then open the needed
ports to establish the conenction. Here's the Windows Firewall Platform SDK
reference:
http://msdn.microsoft.com/library/de...asp?frame=true
As for Norton's firewall, you will have to ask them to see if they have a
public API that allows your application to manipulate the firewall.
--
Eric Cherng
MCP, MCDBA, MCSD
http://echerng.com http://vertigosoftware.com
"gillcleeren" <gi*********@gmail.com> wrote in message
news:a2**************************@posting.google.c om...
I have made an desktop application which connects to a webservice
running on a remote webserver.
When my exe-file connects to the webservice, the firewall (my Norton
Internet Security firewall, as well as the Windows XP SP2 firewall)
always block this call. I was asked if something could be done about
this, so you would not have to configure your firewall to run the app.
Is there some other way to "talk" to a webservice so that a firewall
doesn't notice?
This is what I use now:
Code:
Dim w as TheWeather.WeatherService
w = New TheWeather.WeatherService
If returnedErrorCode = 0 Then
errorCode = 0
result = w.Weather(countryID, locationID, tempUnit,
"")
...
A web reference is added to the project, called TheWeather.