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

Securing DTS connections for Sarbanes Oxley Expand / Collapse
Author
Message
Posted Monday, March 13, 2006 12:35 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: 2 days ago @ 8:19 AM
Points: 102, Visits: 106

Hi,

We have jobs scheduled on several of our Database Servers, which execute DTS packages. The DTS packages have Connections (steps) to more than one Sql Servers (different applications). Because of the Sarbanes Oxley requirements, we are trying to come up with a way where only the primary developer for any given application would know the password for that application/Sqlserver. And because we have integrations between different systems/applications via DTS packages, we want to come up with a scenario where the developer of the DTS package would not need to know the password for the connection step to the other application involved in the DTS.

This is what we have come up with so far:

In our Development environment, the developers will have access to all the databases on all the sql servers via their NT domain accounts. Thus, they can create the DTS packages with connections to different sql server /databases (Development only) using windows authentication on all connection steps and then test it. When the DTS needs to be deployed, only the primary developer for the production database where the DTS/Job is to be housed, will have access to do so. He/She will copy (save as) the DTS to the production server, and then schedule it as a job. The DTS owner will thus be the primary developer for the application who has sa privileges.

If my understanding is correct, when the DTS is executed by the job, if the DTS uses 'Windows authentication' on the connection steps, the credentials associated with the sql server agent log on (from the machine where the job is running), will be used for authentication. Is this correct? If it is, then if we have sql server agents on all our instances to start using a windows domain account that has administrative rights, would this approach work? It seems like the NT domain admin account falls under the BuiltIn/Administrator login. WE have that login under the Sa role.

Would this approach work? Is there any downside to using such a mechanism.

Moreover, when the credentials from the sql server agent log on are passed to authenticate against any sql database, how does sql server figure out that this log on is part of the builtin/administrator group? Does Active Directory come into play at all?

Jaladhi

Post #265348
Posted Thursday, March 16, 2006 8:00 AM
SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Friday, May 18, 2007 3:36 PM
Points: 10,039, Visits: 1
No one has responded to this topic yet. Even if you don't have a complete answer, the original poster will appreciate any thoughts you have!
Post #266213
Posted Thursday, March 16, 2006 8:24 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Sunday, October 19, 2014 4:48 AM
Points: 1,327, Visits: 156

If my understanding is correct, when the DTS is executed by the job, if the DTS uses 'Windows authentication' on the connection steps, the credentials associated with the sql server agent log on (from the machine where the job is running), will be used for authentication. Is this correct?

Not necessarily.  It depends on the owner of the job, or the Run as user setting on the job step.  If that user is in the sysadmin role, it should use the SQL Server agent account for authentication.  If that user is not in the sysadmin role group, it will use the SQL Server Agent proxy account that is defined.  If the proxy account is not defined, the job step will fail.  See Handling Package Security in DTS in BOL for more on this.





Mark
Post #266237
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse