Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SQL Server windows authentication

SQL Server windows authentication

Scheduled Pinned Locked Moved Database
databasesql-serversysadminsecuritytools
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zeyad Jalil
    wrote on last edited by
    #1

    Hi All, We want to disable the windows authentication mode in the sql server, because we use the sql authentication and we don't want the user to login from the management studio using windows authentication. so we need a sql script to disable the windows authentication from our windows application, what is the script please. Thanks all

    G J 2 Replies Last reply
    0
    • Z Zeyad Jalil

      Hi All, We want to disable the windows authentication mode in the sql server, because we use the sql authentication and we don't want the user to login from the management studio using windows authentication. so we need a sql script to disable the windows authentication from our windows application, what is the script please. Thanks all

      G Offline
      G Offline
      Garth J Lancaster
      wrote on last edited by
      #2

      not sure if it can be done with t-sql or such - but this may help http://sqlblog.com/blogs/allen_white/archive/2011/05/19/change-sql-servers-authentication-mode-with-powershell.aspx[^]

      1 Reply Last reply
      0
      • Z Zeyad Jalil

        Hi All, We want to disable the windows authentication mode in the sql server, because we use the sql authentication and we don't want the user to login from the management studio using windows authentication. so we need a sql script to disable the windows authentication from our windows application, what is the script please. Thanks all

        J Offline
        J Offline
        jschell
        wrote on last edited by
        #3

        Rather certain that isn't possible nor logically advisable. SQL Server supports Windows authentication and as an option SQL identification. The later is an option the former isn't. Additionally you seem to think that you can disallow access to SQL server completely. Which suggests that you think that there will never be problems that need investigation. Which is unlikely to be true. If you don't trust your users then either address that at the management level or the contract level. And don't try to solve it with technology.

        C 1 Reply Last reply
        0
        • J jschell

          Rather certain that isn't possible nor logically advisable. SQL Server supports Windows authentication and as an option SQL identification. The later is an option the former isn't. Additionally you seem to think that you can disallow access to SQL server completely. Which suggests that you think that there will never be problems that need investigation. Which is unlikely to be true. If you don't trust your users then either address that at the management level or the contract level. And don't try to solve it with technology.

          C Offline
          C Offline
          Chris Meech
          wrote on last edited by
          #4

          jschell wrote:

          If you don't trust your users then either address that at the management level or the contract level. And don't try to solve it with technology.

          :thumbsup::thumbsup::thumbsup::thumbsup::thumbsup: That's got my five.

          Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups