Re: TCP/IP and security

From: Jasper Smith (jasper_smith9_at_hotmail.com)
Date: 11/24/03

  • Next message: Jasper Smith: "Re: Encrypted JDBC connection from UNIX to a SQL Server 2000 Database Server"
    Date: Mon, 24 Nov 2003 17:25:51 -0000
    
    

    For (1) You can use the TcpPort of the Reigistry2 object via DMO
    For (2) it's probably related to the DISABLENETWORKPROTOCOLS switch
    http://support.microsoft.com/default.aspx?scid=kb;en-us;814130

    -- 
    HTH
    Jasper Smith (SQL Server MVP)
    I support PASS - the definitive, global
    community for SQL Server professionals -
    http://www.sqlpass.org
    "Drizzt" <drizzt.du@libero.it> wrote in message
    news:JHmwb.84543$hV.3260444@news2.tin.it...
    I've got an application that ships with MSDE as DBMS instead of the old .mdb
    file. Everything work right, only I have problems with security stuff. I've
    searched around with Deja, but found no solutions to those two...
    1) I need to change the protocols settings during installation or, after
    installation, with Visual Basic code. This because the software is
    autoinstalled, distributed on a CD, user friendly, and I don't want to ruin
    it forcing the user to change the protocols manually.
    Specifically, I need to be sure that protocols used by the server are TCP\IP
    and Named Pipes, and that port XXXXX is selected as the default port instead
    of 1433. Is there a stored procedure to do this? Or can this be done with
    DMO?
    2) I've installed the SQL Security package on a couple of machine to see
    what happens and how it solve the nasty problem with the various worms
    attacking port 1433 and 1434. But I was expecting a different solution,
    honestly, than disabling the TCP\IP protocol for SQL Server!
    After the installation of the patch, we found that
     - whatever port I say to SQL Server to use, it's always closed. netstat -a
    do not list it, grc.com says it is closed, accessing the server with EM from
    other PC via Internet result in "server doesn't exist".
     - If I remove the TCP protocol from the used ones, obviously SQL Server do
    not use it (errorlog after service start lists the protocols used).
     - If I add the TCP protocol to the ones to use, guess what, SQL Server
    STILL do not use it!(errorlog after service start lists the protocols used,
    as above).
    I hope I'm wrong on this...am I wrong, right?
    TIA, Mauro.
    

  • Next message: Jasper Smith: "Re: Encrypted JDBC connection from UNIX to a SQL Server 2000 Database Server"

    Relevant Pages

    • Re: WSS 3.0 installation stops default website on W2k8
      ... Because the default web site usually uses port ... of WSS did), it simply stops it to avoid issues. ... simply turn it back on after installation is complete, ... During installation of SQL Server 2005 I've already ...
      (microsoft.public.sharepoint.windowsservices)
    • Re: ODBC failing to connect
      ... Well looking at the Firewall logs I can see the it is opening the port then ... First off I went into the SQL Server logs and found out that it is ... Back to the ISA machine, and opened up telnet and tried to connect to SQL ... You'd also want to check your ports and protocols - one way ...
      (microsoft.public.sqlserver.connect)
    • Re: Sql Express (Build 2047) XP SP2 not listening
      ... Did you enable remote connections for the protocols? ... I ran the Sql Server Configuration Manager to set the Protocols for ... SqlExpress and the Client Protocols to TCP and port 1433. ... I run netstat -ano and I still cannot see the service listening on port ...
      (microsoft.public.sqlserver.connect)
    • RE: Problems connecting to MSDE server
      ... Thank you for your post regarding unable to connect to SQL Server. ... didn't specify to enable protocols when installing, ... run svrnetcn.exe which will bring up the Server Network configuration ... The client tools ship with a full copy of SQL Server, ...
      (microsoft.public.sqlserver.msde)
    • TCP/IP and security
      ... I need to change the protocols settings during installation or, ... is selected as the default port instead ... - whatever port I say to SQL Server to use, ... STILL do not use it!(errorlog after service start lists the protocols used, ...
      (microsoft.public.sqlserver.security)