dbTalk Databases Forums  

Execute DTS Package from non-privileged VB Client

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Execute DTS Package from non-privileged VB Client in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
paul
 
Posts: n/a

Default Execute DTS Package from non-privileged VB Client - 04-27-2005 , 08:50 PM






Is there a way to execute a DTS package from a VB application without
the user having sysadmin privileges? Is there a grant execute command
or other means? We have a VB application that will be used by several
lower privileged customers. We don't want clear-text passwords in any
code or ini file.

Thanks


Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Execute DTS Package from non-privileged VB Client - 04-28-2005 , 01:48 AM






In message <1114653004.772489.161780 (AT) f14g2000cwb (DOT) googlegroups.com>, paul
<dstickrod (AT) yahoo (DOT) com> writes
Quote:
Is there a way to execute a DTS package from a VB application without
the user having sysadmin privileges? Is there a grant execute command
or other means? We have a VB application that will be used by several
lower privileged customers. We don't want clear-text passwords in any
code or ini file.

Thanks

There is no role required to execute a package, but when called from VB
the package will execute on the users machine under the users security
context, so they will need rights perform the actions inside the
package. Using SQL security may abstract them from this somewhat, but
any files for example will need to be available to them.

They may also need the public role in msdb, which all users get by
default, to load the package if stored in SQL Server.

It may be better to devise an alternative process which means the job is
executed on the server, which hopefully means another more privileged
security context Perhaps it can be scheduled?

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
  #3  
Old   
paul
 
Posts: n/a

Default Re: Execute DTS Package from non-privileged VB Client - 04-28-2005 , 04:54 AM



These are on-demand requests. Guess we could use a scheduled DTS
package to poll for a tickler request and execute it, but that's not
what we had in mind.

Are there any other creative means to run the package from the SQL
server?


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.