RE: Hiding MS SQL databases in Enterprise Manager

From: Jannie Hanekom (j_hanekom_at_hotmail.com)
Date: 11/18/03

  • Next message: Panos Athanasiou: "Re: Hiding MS SQL databases in Enterprise Manager"
    To: "'Chris Ess'" <securityfocus@cae.tokimi.net>, <focus-ms@securityfocus.com>
    Date: Tue, 18 Nov 2003 21:38:40 -0000
    
    

    > Hiding MS SQL databases in Enterprise Manager

    Actually, It's quite possible to hide the databases. Just deny the guest
    user read rights on sysdatabases - works like a charm. Only problem is that
    many MS ODBC applications (Access, Excel and several installers I've
    encountered) need to enumerate the list of databases, since they have
    "friendly" dropdowns where you can specify the databases. If you can in any
    way specify a direct ADO connection string (like in an ASP page etc) you can
    get around this, though.

    While you're at it, you may also want to restrict access to the syslogins
    view (to hide the users in EM) and sysobjects and sysservers to hide the
    global list of extended stored procedures and linked servers from poking
    users.

    In MSDB, we've also restricted access to sp_add_dtspackage,
    sp_add_jobschedule and sp_enum_dtspackages to keep people from snooping on
    DTS packages and scheduled jobs.

    In addition to the above, you may want to have a look at the excellent site,
    http://www.sqlsecurity.com. The site has good lockdown scripts and links to
    useful utilities.

    Hope that helps.

    Jannie

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


  • Next message: Panos Athanasiou: "Re: Hiding MS SQL databases in Enterprise Manager"

    Relevant Pages

    • Re: restrict access
      ... I can see list of databases, if i right click on it and go to properties ... and then you can see option where restrict access is being checked ... "Narayana Vyas Kondreddi" wrote: ... > I am using sql server and i am getting restriction access option checked. ...
      (microsoft.public.sqlserver.setup)
    • Re: Why is sp_helpdb and sysdatabases different
      ... What I meant by moving the system databases was that on the new servers, ... needed to add a trace flag 3608 to the startup parameters then detach, move, ... >> querying sysdatabases, I am confused as to why this is happening. ... > fact it queries sysdatabases for the first resultset - the one that lists ...
      (comp.databases.ms-sqlserver)
    • Re: tables from different databases but in single query
      ... the links are specified in ABSOLUTE path ... the location of databases to their hearts' content. ... >>configured via ODBC Data connection. ... what i want is to specify the odbc configured name for ...
      (microsoft.public.access.queries)
    • mysqldump no match issue
      ... I wanna do a ... mysqldump: No match. ... This happens either i put --all-databases or I specify any of the ... databases. ...
      (freebsd-questions)
    • Mysqldump password issue
      ... I wanna do a ... mysqldump: No match. ... This happens either i put --all-databases or I specify any of the ... databases. ...
      (freebsd-questions)