Re: TCP/IP and security
From: Jasper Smith (jasper_smith9_at_hotmail.com)
Date: 11/24/03
- Previous message: Sue Hoegemeier: "Re: what encryption is used in DTS"
- In reply to: Drizzt: "TCP/IP and security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Previous message: Sue Hoegemeier: "Re: what encryption is used in DTS"
- In reply to: Drizzt: "TCP/IP and security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|