dbTalk Databases Forums  

Security Level on SQL

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


Discuss Security Level on SQL in the microsoft.public.sqlserver.dts forum.



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

Default Security Level on SQL - 08-21-2003 , 01:17 PM






I created a VB.Net appliction that creates and executes a couple of
DTS packages. I use trusted connection in my connection objects.

I then deployed these applictions to a user's machine.

I had to create a login on the SQL server and promote them the the
Serve Administrator role so they could run the package from their
machine.


I would like to know if anybody knows what the minimum settign I can
use but still allow them to run the packages?


Or maybe change the connection properties?


Thanks,
RWiethorn

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

Default Re: Security Level on SQL - 08-21-2003 , 01:54 PM






In article <553a0349.0308211017.e3005d1 (AT) posting (DOT) google.com>, rwiethorn
<rwiethorn2002 (AT) yahoo (DOT) com> writes
Quote:
I created a VB.Net appliction that creates and executes a couple of
DTS packages. I use trusted connection in my connection objects.

I then deployed these applictions to a user's machine.

I had to create a login on the SQL server and promote them the the
Serve Administrator role so they could run the package from their
machine.


I would like to know if anybody knows what the minimum settign I can
use but still allow them to run the packages?


Or maybe change the connection properties?

If using a trusted connection, and the package is run from the users
desktop then the user must have permissions to do everything, including
run all the SQL that is done in the package.

Using a trusted connection in DTS is just like in a VB program or
similar, the current user is the user that makes the connection, hence
they run the SQL.

Just remember DTS is a client side application.
--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com




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

Default Re: Security Level on SQL - 08-21-2003 , 04:36 PM



In order for the user to use the appliction, I had to create a Login
and Give them SYSTEM ADMIN Server Roles.

I would rather not do that.

We are using mixed mode for security.

ANy ideas on the what roles I need to use other than Sys Admin?


Darren Green <darren.green (AT) reply-to-newsgroup-only (DOT) uk.com> wrote

Quote:
In article <553a0349.0308211017.e3005d1 (AT) posting (DOT) google.com>, rwiethorn
rwiethorn2002 (AT) yahoo (DOT) com> writes
I created a VB.Net appliction that creates and executes a couple of
DTS packages. I use trusted connection in my connection objects.

I then deployed these applictions to a user's machine.

I had to create a login on the SQL server and promote them the the
Serve Administrator role so they could run the package from their
machine.


I would like to know if anybody knows what the minimum settign I can
use but still allow them to run the packages?


Or maybe change the connection properties?


If using a trusted connection, and the package is run from the users
desktop then the user must have permissions to do everything, including
run all the SQL that is done in the package.

Using a trusted connection in DTS is just like in a VB program or
similar, the current user is the user that makes the connection, hence
they run the SQL.

Just remember DTS is a client side application.

Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Security Level on SQL - 08-22-2003 , 07:35 AM



Package 1 requires DELETE permissions on table
Package 2 requires INSERT and SELECT permissions
Package 3 requires Exec permissions on stored proc (providing ownership
chain is complete)

That should be that.


When the user does not have sysadmin privs what messages do you see ?

--


Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

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.