sql server - Make a database inaccessible through “sa” user but should be accessible through another user -
sql server - Make a database inaccessible through “sa” user but should be accessible through another user -
i have database bugtracker
accessible "sa" user.
i have created new user adminbugcatcher
. have mapped "bugtracker" database user. database should not accessible through "sa" user.
how can accomplish same ?
i have tried unlink database "sa" user getting error "drop failed user "dbo" ".
i don't think it's possible. i'm not expert, have 7 years of experience sql server, , best of knowledge, sa scheme administrator, , can't block user anything.
you can disable sa login (although wouldn't recommend it), or improve yet, don't give sa password except scheme administrator.
for little bit more information, read this.
sql-server sql-server-2008
Comments
Post a Comment