Re: Minimum permissions for SQL2005 development?



Minimum permissions for SQL2005 development?

The obvious answer is that you need the minimal level of permissions need to do your job :-)

And the security
administrators are not SQL DBAs - so it's basically up to me to work
out what access I need (db_owner/sa?

One would think the security admins would need to know something about SQL security if managing SQL security is part of their job. You should only need to tell them what you need to do and they ought to be able to know enough to give you those permissions and nothing more.

Sysadmin role members have full control over the entire SQL Server and will provide full control over all databases. If you don't need to change server configuration options, install service packs and that sort of thing, sysadmin is probably overkill. db_owner is also a powerful role but may be appropriate if you need *complete* control over some, but not all, databases on the server.

Anyone know what permissions I'd need to:

- Create/drop/execute objects in a DB (obviously, db_datawriter and
db_datareader as well)

You'll need CREATE permissions on the target object type and ALTER on the object's schema. If you have CONTROL on the schema, you won't need db_datawriter and db_datareader membership to data access in that schema.

- Execute system stored procedures (especially sp_executesql)

You should already have execute permissions on sp_executesql because execute permissions default to public and you access master via the guest user context. If you don't have execute permissions, the default SQL Server permissions were changed and permissions will need to be granted via other means.

- Develop, test and run SS Integration Services?

Like any application, you'll SQL permissions to access the objects used by the package. If you use msdb as the package store, you'll need to be a member of the appropriate role (db_dtsadmin or db_dtsltduser).

--
Hope this helps.

Dan Guzman
SQL Server MVP

"sebt" <sebthirlway@xxxxxxxxxxx> wrote in message news:1175679014.583549.224630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi

I'm trying to get started developing on this 2005 box, but I'm running
into big security problems, because this is one of those shops where
getting the most minimal level of access to the dev server (even as a
developer who should supposedly be doing something productive for the
daily rate) is harder than getting Tony Blair to tell you the Trident
launch codes.

So at the moment even Management Studio won't work. And the security
administrators are not SQL DBAs - so it's basically up to me to work
out what access I need (db_owner/sa? For a developer, on the dev
box? Forget it!), tell them this, and then go through whatever
paperwork/string-pulling/bribery/black ops are necessary to actually
get it granted.

If it was 2000 I'd have some idea, but I'm relatively new to 2005 -
developed on a "friendly" box as sa before, but never run into this.

Anyone know what permissions I'd need to:

- Create/drop/execute objects in a DB (obviously, db_datawriter and
db_datareader as well)
- Execute system stored procedures (especially sp_executesql)
- Develop, test and run SS Integration Services?

I suspect that what I'm running into at the moment is lack of
permissions in master and msdb - but it's hard to work out, when my
effective server role is something like "Unauthenticated hacker".

Apologies for my ignorance - I've never run into this level of
paranoia before.

thanks for any ideas.



seb


.



Relevant Pages

  • Re: Access Control Best Practices for shared hosting seem at odds with Web Site Starters
    ... the server can write a file somewher. ... Security depends on the application itself. ... The MS Shared Hosting Deployment Guide lists among best practices: ... Ensure strong permissions are used on Web content ...
    (microsoft.public.inetserver.iis.security)
  • Re: SQL CE Synching Problems
    ... install location of SQL CE instead of under Inetpub like I had done before. ... > so the issue has to be between the server tools and the publisher. ... >>I ran the wizard again to check all the permissions and this is what it ... >> A request to send data to the computer running IIS has failed. ...
    (microsoft.public.sqlserver.ce)
  • Re: File Sharing Nightmares
    ... Vista's SP1 has some stuff disabling secedit in favor of gpedit.msc. ... that the server was the issue. ... "The Group Policy security settings that apply to this machine could not be ... >> Permissions trouble for the registry entries. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Moved & Deleted Files
    ... > share has correct share/ntfs permissions and that the permissions are not ... > share will not go to the recycle bin on the server. ... > For Windows 2000 you can enable auditing of object access in the Local ... > Security Policy or Domain Controller Security Policy for domain controllers ...
    (microsoft.public.security)
  • Re: 80004005 Unspecified Error
    ... every update that comes down the pike restricts access and hardens security. ... Just because your Jet database has none of Jet's security ... it has associated launch and activation permissions. ... It worked just fine (I had to restart my win2000 server) TILL I ...
    (microsoft.public.inetserver.asp.db)