|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Today @ 7:41 AM
Points: 11,617,
Visits: 27,676
|
|
azinyama (11/5/2012) Another question though...
What would I then do about preventing people from using Windows Authentication to log in???
just because you have a windows login, does not auto-magically mean the login is sysadmin, and has access to everything.
Its very common in a dev environment that everyone has access to everything, and that loose coding practice can be tempting to pass on to production. I think that's a key component to being a competent DBA: understanding security and how to limit access to just what is REALLY needed.
So your objective really is two fold: make sure normal users are never granted excessive permissions, and to create a Role that contains just the needed permissions for the application(?) to use.
Lowell
--There is no spoon, and there's no default ORDER BY in sql server either. Actually, Common Sense is so rare, it should be considered a Superpower. --my son
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 7:27 AM
Points: 2,534,
Visits: 4,348
|
|
Jason-299789 (11/5/2012)
The problem is that the encryption is easily reversed if you're determined enough, it might stop a casual person but anyone with any tenacity or google will be able to bybass that quickly once they have a script. This is one thread on MSDN about it though it appears that you need to have Admin rights. http://social.msdn.microsoft.com/Forums/en/transactsql/thread/e7056ca8-94cd-4d36-a676-04c64bf96330Lowel is correct you're better using Permissions to prevent this from happening and if it does happen using an Database trigger and Audit to trace changes so you know who to point the finger at and prove that someone has done something they shouldnt.
Encryption it's not easily reversed... Even if you look posted link, you can see that it will require some work. Plus, yes you will need to have Admin rights in order to use Dedicated Admin Connection. So, Encryption adds even more security over permissions. And BTW, if I have enough rights, you will never find out what I've done, as I will be able to clean any logs...
_____________________________________________ "The only true wisdom is in knowing you know nothing" "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!" (So many miracle inventions provided by MS to us...)
How to post your question to get the best and quick help
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Today @ 7:31 AM
Points: 487,
Visits: 2,133
|
|
Here is how I understand it, maybe the OP will find it useful.
Think of SQL server as a shopping mall, the databases are individual shops, and the main car park is windows.
To get into the car park (windows) I need a car park pass.
To get into the shopping mall (SQL Server) I will also need another pass.
Finally, to get into a shop (database), I need a third pass.
Of course in real life a shopping centres don't quite work like this but you get the idea... Lol
----------------------------------- http://www.SQL4n00bs.com
|
|
|
|