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:
a login on server level - gives account (a windows account, or sql server specific account) permission connect server
each database can define user own use - based on logins.
so in case, need to:
- create number of logins on server-level
- 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
Post a Comment