User permissions for someone in SQL 2005

Posted on 2007-07-25
Last Modified: 2012-06-21
I have a quick and easy question for you. We need a user created who can manage and create just one database. We don't want this person to really be able to do anything in our other DB's.

So I set this up by adding this person as a regular user and remote user on the server itself.
Then on SQL Server they are set up as having a server role of dbcreator and public (seemed like I couldnt get rid of that one).

So now when that user logs in they can see the other Db's but cannot modify anything. They can see everything in their designated DB.

IS this a good way to handle it or is there a better way?
Question by:edi77
    1 Comment
    LVL 6

    Accepted Solution

    If that is acceptable within your security guidelines then it shouldn't be a problem.

    If you would like to tighten it down further though, (and the database they work on is already created), then removed the dbcreator server role and just add their user to the dbowner role for that database.

    This will not work if they need to create additional databases though.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
    In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now