SQL Server Restrict Access to Database by Windows Authentication Mode -


i facing problem regarding database permissions. have created database named fcproject. created login database in sql server management studio. login working fine want restrict access fcproject database through users can log in sql server through windows authentication mode.

because want fc login able view or modify data of fc database in sql server management studio.

i have tried creating login through management studio. there problem in creating login? or else? please help

you mixing 2 things should kept separate here:

  1. a login on server level - gives account (a windows account, or sql server specific account) permission connect server

  2. each database can define user own use - based on logins.

so in case, need to:

  1. create number of logins on server-level
  2. create users in fclogin database logins

and you're fine - those accounts you've defined explicitly can access fclogin database , use it.

see stairway sql server security series of articles on sql server central (very worth registering contents!) explains ins , outs in great detail


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -