Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL Server security help Expand / Collapse
Author
Message
Posted Tuesday, November 20, 2012 5:21 AM


Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Tuesday, August 26, 2014 3:26 AM
Points: 708, Visits: 3,287
Just fiunished installing a new instance of SQL Server on a brand new server in the DMZ.

I created two local accounts called SQLServer and SQLAgent which I then used in the setup process to run the SQL Server service and SQl Agent service respectively.

When I login to the new instance as SA I see this:



But why am I seeing the two account NT SERVICE\MSSQLSERVER and NT SERVICE\SQLSERVERAGENT. I thought these accounts are only created if the services are run with local system accounts?!

am I just being stupid?!


---------------------------------------------------------


It takes a minimal capacity for rational thought to see that the corporate 'free press' is a structurally irrational and biased, and extremely violent, system of elite propaganda.
David Edwards - Media lens

Society has varying and conflicting interests; what is called objectivity is the disguise of one of these interests - that of neutrality. But neutrality is a fiction in an unneutral world. There are victims, there are executioners, and there are bystanders... and the 'objectivity' of the bystander calls for inaction while other heads fall.
Howard Zinn
Post #1386856
Posted Tuesday, November 20, 2012 5:24 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 6:49 AM
Points: 5,227, Visits: 5,087
Not being stupid right to raise your concern but them accounts are created for the service regaurdless of the account which runs them. It does this so that you dont have to start changing permissions when you want to change the service accounts as it uses the virtual login NT SERVICE\......



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1386858
Posted Tuesday, November 20, 2012 5:33 AM


Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Tuesday, August 26, 2014 3:26 AM
Points: 708, Visits: 3,287
Thanks Tony.

I have more questions sorry! if anyone can point me in the right direction I'd be eternally grateful!

1) The new box will not have any locally installed application that access the database. I'm also not using Full-text service so can I just remove the NT AUTHORITY\SYSTEM login?

2) I want to set up the server so it will have 5 Developers and 2 DBAs. What's the best way to set this up?


---------------------------------------------------------


It takes a minimal capacity for rational thought to see that the corporate 'free press' is a structurally irrational and biased, and extremely violent, system of elite propaganda.
David Edwards - Media lens

Society has varying and conflicting interests; what is called objectivity is the disguise of one of these interests - that of neutrality. But neutrality is a fiction in an unneutral world. There are victims, there are executioners, and there are bystanders... and the 'objectivity' of the bystander calls for inaction while other heads fall.
Howard Zinn
Post #1386860
Posted Tuesday, November 20, 2012 5:41 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 6:49 AM
Points: 5,227, Visits: 5,087
Abu Dina (11/20/2012)
Thanks Tony.

I have more questions sorry! if anyone can point me in the right direction I'd be eternally grateful!

1) The new box will not have any locally installed application that access the database. I'm also not using Full-text service so can I just remove the NT AUTHORITY\SYSTEM login?

2) I want to set up the server so it will have 5 Developers and 2 DBAs. What's the best way to set this up?


1 - No leave that login where it is, if SQL has created it, it has created it for a reason.

2 - I take it as this is in the DMZ that it is not part of the domain? If so create the logins as local logins, then create 2 local groups, assign the logins to the groups, assign the groups the permissions they need in SQL.

Also can you explain your reasonings behind putting a SQL server in the DMZ? Typically you would want your databases to be on the secure LAN protected by firewalls etc.




Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1386863
Posted Tuesday, November 20, 2012 5:50 AM


Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Tuesday, August 26, 2014 3:26 AM
Points: 708, Visits: 3,287
anthony.green (11/20/2012)

Also can you explain your reasonings behind putting a SQL server in the DMZ? Typically you would want your databases to be on the secure LAN protected by firewalls etc.


Sure although I didn't have a say in this setup. I am only sorting out the SQL Server installation.
I believe it's going to be used by a web application and the DMZ is protected by a firewall so no one from the outside can access this database server but other web servers can communicate with it.


---------------------------------------------------------


It takes a minimal capacity for rational thought to see that the corporate 'free press' is a structurally irrational and biased, and extremely violent, system of elite propaganda.
David Edwards - Media lens

Society has varying and conflicting interests; what is called objectivity is the disguise of one of these interests - that of neutrality. But neutrality is a fiction in an unneutral world. There are victims, there are executioners, and there are bystanders... and the 'objectivity' of the bystander calls for inaction while other heads fall.
Howard Zinn
Post #1386870
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse