• subscribe
August 19, 2003 12:00 AM

Preventing New Package Creation

SQL Server Pro
InstantDoc ID #39719

I have a problem with developers cluttering my production server with Data Transformation Services (DTS) packages. The developers need permissions on the server, but I don't want them creating packages on it. How do I prevent certain users from creating new DTS packages on my server?

Although Microsoft doesn't provide a documented way to prevent users from creating new DTS packages, you can use the following technique to keep all but the craftiest users from saving packages on your server. Enterprise Manager uses the undocumented stored procedure sp_add_dtspackage to add package information to msdb. If you remove the permission for a user to execute this procedure, the user won't be able to use Enterprise Manager to save a DTS package to msdb. Msdb is the storage location if you select SQL Server as the storage location when you save the DTS package by using the Package Designer GUI. So, this tip will prevent your developers from saving DTS packages to your production server from the GUI.

A developer might get around this roadblock by using the DTS object model and a COM design tool such as Visual Basic (VB) to create a package, then saving the package to Meta Data Services on SQL Server. This technique is advanced, so removing the EXECUTE permission for sp_add_dtspackage will keep most SQL Server users from creating new packages because they won't be able to save them.

Use this tip with caution, and remember to check for behavior changes on your system after you apply a hotfix or service pack. I don't know of any damage that changing the EXECUTE permission for sp_add_dtspackage can cause, but you usually shouldn't tamper with undocumented system objects.



ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here
  • SP1?
    I know there is a SP1 for SQL 2008 R2 available....and there is a "feature pack" as well... ...
  • SQL database mirroring
    I have SQL Server 2008 R2 Enterprise 64bit on Windows 2008 R2 Enterprise 64bit.  Each SQL Server has...
  • Dell Compellent Disk Drive
    Does anybody has experience with Dell Compellent Disk Drive? Basically, this system manages all disk...
  • Sql server performance tuning
    I need to find a tool that help me to optimize sql server,queries,improve the performance and solve ...