Re: Database protection

From: Sophie Guo [MSFT] (v-sguo_at_online.microsoft.com)
Date: 09/15/05

  • Next message: Uri Dimant: "Re: Database protection"
    Date: Thu, 15 Sep 2005 08:49:51 GMT
    
    

    Hello,

    You can use sp_grantlogin to allow a Microsoft Windows NT user or group
    account to connect to Microsoft SQL Server using Windows Authentication.
    Use sp_denylogin to prevent a Microsoft Windows NT user or group from
    connecting to Microsoft SQL Server. For example, you can run

    sp_denylogin 'builtin\administrators'

    to prevent from administrator to connect to SQL Server. However, make sure
    you have the SA password and the authentication mode is mixed-mode before
    you do so.

    For more information, refer to the following articles:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_
    sp_ga-gz_8dri.asp

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_
    sp_da-di_9jji.asp

    I hope the information is helpful.

    Sophie Guo
    Microsoft Online Partner Support

    Get Secure! - www.microsoft.com/security

    =====================================================
    When responding to posts, please "Reply to Group" via your newsreader so
    that others may learn and benefit from your issue.
    =====================================================
    This posting is provided "AS IS" with no warranties, and confers no rights.


  • Next message: Uri Dimant: "Re: Database protection"

    Relevant Pages

    • RE: Sharepoint issue
      ... do you mean Microsoft SQL Server ... 833183 You receive a "Cannot connect to the configuration database" error ... This newsgroup only focuses on SBS technical issues. ...
      (microsoft.public.windows.server.sbs)
    • Re: Error: The user is not associated with a trusted SQL Server connection.
      ... It turns out that I may be able to get by using Windows Authentication after all so it was all just a learning experience. ... Hitchhiker's Guide to Visual Studio and SQL Server ... An error has occurred while establishing a connection to the server. ... (Microsoft SQL Server, Error: 10061) ...
      (microsoft.public.sqlserver.connect)
    • CERT Advisory CA-2002-22 Multiple Vulnerabilities in Microsoft SQL Server
      ... The Microsoft SQL Server contains several serious vulnerabilities that ... These vulnerabilities are public and have ... the same privileges as the operating system. ... a compromised Microsoft SQL Server can be used to take ...
      (Cert)
    • RE: Update Windows XP Home SP2
      ... I have tried many times unsucessfully to install the Microsoft SQL Server ... Download Center. ...
      (microsoft.public.windowsupdate)
    • Re: Error: The user is not associated with a trusted SQL Server connection.
      ... Hitchhiker's Guide to Visual Studio and SQL Server ... An error has occurred while establishing a connection to the server. ... (Microsoft SQL Server, Error: 10061) ... So I checked and sure enough, the authentication mode was set to "Windows Authentication" so I changed it to "Windows Authentication and SQL Server Authentication". ...
      (microsoft.public.sqlserver.connect)