Re: VB app connect THROUGH proxy to a remote SQL database



That's a bummer. You might be able to extract just the core elements of
your DAL (i.e. just the SQL helper functions that handle actual
communication to the SQL Server instance) out into a web-service and
redirect your clients calls to it?

I feel your pain in terms of inflexible IT admins thinking the network is
their baby. The whole "HTTP proxy is way more secure than allowing outgoing
connections willy-nilly!" line is amusing to say the least...

Regards,
Alex


"Gary Shell" <gshell@xxxxxxxx> wrote in message
news:6350753F-5EB0-4107-9C43-D6A4B5175D57@xxxxxxxxxxxxxxxx
You understand the porblem just fine. However convincing the end users IT
department to make such a change would shall we say be "pissin' in the
wind". That's not going to happen, unfortunately. They are a HUGE
corporation and are not going to redo things to accomodate my app.

Gary

"Alex Clark" <alex@xxxxxxxxxxxxx> wrote in message
news:OfWbdSpbIHA.3484@xxxxxxxxxxxxxxxxxxxxxxx
While a lot of people are recommending you go through the
not-insignificant task of redesigning your entire DAL/mid-tier to work
via a web-service, I actually would recommend talking to IT first and
seeing if there isn't a quick (and still secure) alteration they could
make for you.

If I understand you correctly, the client app and the SQL server are on
two separate networks and there is a proxy between them. From what I can
gather, incoming connections to the SQL server are not the problem - it's
outgoing connections from your client apps which have only an HTTP proxy
to go through that's causing the headaches. Had IT configured the
client-apps network with a router rather than just an HTTP proxy, things
would be fine --- please correct me if I'm wrong.

Real routers, as opposed to HTTP proxies, generally allow outgoing
connections on *any* port unless specifically configured otherwise.
There is no real threat in allowing a client from behind the
router/firewall to initiate an outbound connection to a remote server;
many corporations use this configuration.


"Gshell" <Gshell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5DEAF5EA-414F-44EA-8AE1-E4A626B0D83B@xxxxxxxxxxxxxxxx
I have a VB.net app that connects to a remote SQL server via TCP/IP. Most
folks can connect just fine. However some enterprise users are in a
corporate environment that will only allow connections through a
corporate
proxy server.

The VB app does the connect to the remote SQL server via a fully
routeable
IP address over port 1433.

Having no such experience, I have no idea what I need to do to my app to
allow that. And what sort of interaction I will personally need to have
(if
any) with thier IT department to configure the proxy server in any way.
The
user mentioned that "Only permissible outbound connection is through
proxy
server and it is only allowed with TCP/IP port 80 and it is only
possible by
authenticating with Domain ID and password." I would assume that means
the
connection from the VB app to the Proxy server is over port 80 and that
somehow the proxy server will know (or be told) to then route to IP
address
of the SQL Server over port 1433.


Can anyone offer any insight or links that might point me in the right
direction?

Thanks!






.



Relevant Pages

  • RE: ActiveSync Error with SBS2003 and ISA2004
    ... To check if the proxy server is used for connection: ... On the PPC, click start -> settings, on the connections tab, open ...
    (microsoft.public.windows.server.sbs)
  • Re: SQL Management Studio cannot connect remotely
    ... firewall has the TCP port 1433 and UDP port 1434 open). ... Server is listening on TCP port 1433. ... Use SQL Server Configuration ... protocol connections are using. ...
    (microsoft.public.sqlserver.connect)
  • Re: How to Direct connect with ActiveSync
    ... Server 2000, Visual Studio 2008. ... I run this and get the "Can't find Server or Access Denied". ... Again sorry if this should be in another form but you say that SQL Server ... My web connections and desktop project connections to SQL Server ...
    (microsoft.public.sqlserver.ce)
  • Re: Cant connect to local SQL Server 2005 from .adp
    ... One caution is that your SQL Server is now available to any computer which can connect to yours on TCP port 1433. ... I'm not sure I remember that correctly, so if it doesn't work, see what SQL Books OnLine says about shared memory connections. ... you can disable the remote connections again. ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Upgraded Win2K/ SQL 2K to Win2K3, is now one big mess
    ... Check the Drivers tab in the ODBC administrator. ... Make sure that SQL Server is configured properly to accept off-the-box ... the existing server connections still ...
    (microsoft.public.sqlserver.odbc)