March 10, 2008 at 12:52 am
Hi All,
Can i set a password at DataBase level.
ofcourse i am SA user for the SQL server 2000.
Thanks,
March 10, 2008 at 4:45 am
Yeah... ever hear of the "DataBase Owner" role?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 10, 2008 at 4:53 am
Vish,
Just out of curiosity, what are you trying to achieve in terms of security?
Thanks,
Phillip Cox
MCITP - DBAdmin
March 10, 2008 at 1:40 pm
You may try to create a role in a database level, and include it as an application role. You need provide password for this role.
March 10, 2008 at 9:21 pm
Hi Phillip,
Here we share same SA username and password and we donot have different usernames created for the SQL server.
Apparently, Every body who logins in uses the SAME username and password.
In such situations its hard to avoid the CATASTROPHE of somebody deleting the DB or a TABLE.
So thought if i can provide a password at Database level that would be prompted if some one tries to delete a DB or TABLE:)
I know it sounds very unorthodox but this is how things work for me here.:w00t:
March 11, 2008 at 4:18 am
If lots of people are logging on using the SA account, in SQL Server 2000 and below you can not stop them dropping databases.
You need to move to a new process where each person has their own login. The easiest way to do this is to use Windows logins and Windows groups.
Original author: https://github.com/SQL-FineBuild/Common/wiki/ 1-click install and best practice configuration of SQL Server 2019, 2017 2016, 2014, 2012, 2008 R2, 2008 and 2005.
When I give food to the poor they call me a saint. When I ask why they are poor they call me a communist - Archbishop Hélder Câmara
March 12, 2008 at 8:57 am
I agree with EdVasse. We have the same situation here where everyone logs in with the SA id and password. I am now in the process of putting together a plan to set up windows logins and groups and having everyone move off of logging in with the SA id. Once we have tested and made sure that everyone has the correct permissions, the SA password will be changed so they can no longer log in with it. I'm sure it will cause some issues for a while, but better safe than sorry.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply