Re: Security Running a DTS Package

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It depends on what you mean by run a package - through a job
or are you executing it manually? If you execute it
manually, it runs under your security context and from your
PC. It sounds like you are referring to executing the
package in a job. In that case, it depends on the job owner.
If the job owner is a sysadmin, then it executes under the
security context of the SQL Agent service account. If the
job is owned by a non-sysadmin, it executes under the
security context of the proxy account.

-Sue

On Tue, 9 May 2006 10:08:02 -0700, Chris
<Chris@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Let's say that the SQL Server is registered using the SA id and pw and the
package owner is the same. There is no SA id in the windows o/s enviroment.
How does it know that SA has rights to write to a drive?

-Chris

"kllyj64" wrote:

The owner of the package has to have write privleges to the drive and folder
you are writing to the file. At the time of the write it is the file
management security that comes into effect.
--
Thanks Kllyj64


"Chris" wrote:

When I run a DTS package and write a file to a drive, what security does the
DTS package use to do this? I know it uses the SQL Server security to run the
package but when it writes a file the SQL Server sceurity is no longer valid?

Can some one help explain this?

Thanks for your help

-Chris


.



Relevant Pages

  • Re: Security Running a DTS Package
    ... the security context of the service account. ... related to the service account and the permissions. ... Yes I am actually referring to running the package from a job. ... It sounds like you are referring to executing the ...
    (microsoft.public.sqlserver.dts)
  • RE: Could not open global shared memory to communicate w/ performa
    ... a package in BIDS (business Intelligence Development Studio, ... On the SQL Server box, open Programs, SQL Server 2008, COnfiguration Tools, ... for executing SSIS Packages. ... I am logged in as domain administrator yet still have ...
    (microsoft.public.sqlserver.dts)
  • Re: Security
    ... In the main package properties, you can enable package level logging. ... The connection within the package uses a SQL login for the SQL server it connects to, so even though it is executing using the agent, so using the agents permissions, i presumed that the actual connection will be made using the defined login. ...
    (microsoft.public.sqlserver.server)
  • Re: multiple excel file import
    ... Remember DTS packages ... >file here but when executing it says the directories are bad? ... then use on task and a loop in the package. ... global community for SQL Server professionals ...
    (microsoft.public.sqlserver.dts)
  • Re: help! scheduled package does nothing...
    ... executing the package manually. ... Have the package log to text file ... Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) ... > Both the sqlserver and the sqlserveragent services are ran by the same ...
    (microsoft.public.sqlserver.dts)