Prevent Windows user groups members from connecting to a database

There are two methods you can use to prevent a user who is a member of a Windows user group with an integrated login from connecting to a database using the group integrated login:

  • Create an integrated login for the user to a database user ID that does not have a password.

  • Created a stored procedure that is called by the login_procedure option to check whether a user is allowed to log in, and raise an exception when a disallowed user tries to connect.

 Creating an integrated login to a user ID with no password
 Creating a procedure to prevent Windows users from connecting