RE: Hiding MS SQL databases in Enterprise Manager

From: Sergey V. Gordeychik (gordey_at_infosec.ru)
Date: 11/19/03

  • Next message: Craig Janssen: "Re: MS03-049 Scanner?"
    Date: Wed, 19 Nov 2003 09:57:31 +0300
    To: "Chris Ess" <securityfocus@cae.tokimi.net>, <focus-ms@securityfocus.com>
    
    

    I think it can help:

    In SQL 2000 you can put your "secret database" to another SQL server
    instance on same server, so - only users who have server login on
    "secret" instance can see this database.

    Another good practice - is a make this instance "hidden" in network
    libraries. "Hiden" instance don't published via SQL Server Resolution
    Service (UDP 1434) but listen on well-known port 2433.
    Better way - set "secret instance" to listen on high port (5326 for
    example), and filter (with IPSec policy for example) 1434 UDP on SQL
    server.
    Thus only users who know about SQL port can connect to it.
    On client side you can specify port with registry,
    HKLM\SOFTWARE\Microsoft\MSSQLServer\Client\SuperSocketNetLib\Tcp\
    DefaultPort = 5326, or in connection string.

    So, we got 2 instance on one server - public on port 1433, and "secret"
    whit limited access on port 5326.
    Only users, who have login on "secret" instance and know port can
    connect it and use it's database.

    So, sorry for my English.

    -----Original Message-----
    From: Chris Ess [mailto:securityfocus@cae.tokimi.net]
    Sent: Monday, November 17, 2003 6:22 PM
    To: focus-ms@securityfocus.com
    Subject: Hiding MS SQL databases in Enterprise Manager

    I figure there has to be a way to do this. Unfortunately, I've been
    unable to turn up anything on google, so...

    When I create a database in the Microsoft SQL Server, it shows up under
    'Databases' in Enterprise Manager for any user who logs in, whether or
    not
    they have permissions to access it. Since this could potentially be a
    security issue, I would like to set it up so that users can only see
    databases for which they've been assigned a role.

    The SQL server uses mixed-mode authentication and cannot be changed.

    The server in question is currently Microsoft SQL Server 7, but any
    advice
    or pointers for Microsoft SQL Server 2000 would be appreciated as well.

    Sincerely,

    Chris Ess
    System Administrator / CDTT (Certified Duct Tape Technician)

    ------------------------------------------------------------------------

    ---
    Network with over 10,000 of the brightest minds in information security
    at the largest, most highly-anticipated industry event of the year.
    Don't miss RSA Conference 2004! Choose from over 200 class sessions and
    see demos from more than 250 industry vendors. If your job touches
    security, you need to be here. Learn more or register at
    http://www.securityfocus.com/sponsor/RSA_focus-ms_031027 
    and use priority code SF4.
    ------------------------------------------------------------------------
    ---
    ---------------------------------------------------------------------------
    Network with over 10,000 of the brightest minds in information security
    at the largest, most highly-anticipated industry event of the year.
    Don't miss RSA Conference 2004! Choose from over 200 class sessions and
    see demos from more than 250 industry vendors. If your job touches
    security, you need to be here. Learn more or register at
    http://www.securityfocus.com/sponsor/RSA_focus-ms_031027 
    and use priority code SF4.
    ---------------------------------------------------------------------------
    

  • Next message: Craig Janssen: "Re: MS03-049 Scanner?"

    Relevant Pages

    • Re: MS Access DAO -> ADO.NET Migration
      ... William Vaughn ... Microsoft MVP ... Hitchhiker's Guide to Visual Studio and SQL Server ... My migration app works building a SSCE database file with imported data ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Cluster will not fail over.
      ... > As far as the TCP/IP issue goes, you had to rebuild the cluster and were ... > able to restore the master database. ... > a cluster installation you'll have to revisit. ... >> This worked bringing up the sql server in minimal mode. ...
      (microsoft.public.sqlserver.clustering)
    • Re: MS Access DAO -> ADO.NET Migration
      ... full SQL Server and I see the logic you explained in a multi user ... allow two users to access the same database file Read/Write at any given ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... Hitchhiker's Guide to Visual Studio and SQL Server ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: MS Access DAO -> ADO.NET Migration
      ... For that it is much harder to handle the incremental identifier, ... database but although they have the data, they are not connected at the same ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... SQL Server Management Studio is nowhere to be found on my ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Word 2003/Access2000/SQLSVR
      ... SQL server being where the data is held and this is accessed through a MS ... entire database and that may be say a record for Berkshire. ... "Peter Jamieson" wrote: ... replaced with the first record on the table in use. ...
      (microsoft.public.word.mailmerge.fields)