sql server - how to set password before allowing access to db

Posted on 2006-04-02
Last Modified: 2011-09-20
Hi Experts,
I want to set a password so that a password is required before anyone can see the tables or stored proc in an sql server 2000 db. It is on a win xp pro environment. How can I do that using EM. Thanks in advance for help
Question by:uzairp
    LVL 76

    Expert Comment

    disabled the public access.  Lookinto the login/security/users in EM.  Disabling the Windows login access into the SQL is another approach.
    LVL 14

    Accepted Solution

    In the SQL Server Enterprise Manager, browse to the Security\Logins section. Add any number of accounts that you would like to have. For each created account, open the account properties, and from the Database Access tab, specify the databases that this account can access, and then for each selected database, specify the database roles allowed for this account on this specific database. Next, you assign created accounts to appropriate users.

    Example: User1 may have access only to the Northwind database, and on this database, User1 may have db_datareader and db_datawriter roles.


      Nayer Naguib

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    Title # Comments Views Activity
    mirrorEnds challenge 6 63
    Windows 10 SmartScreen vs ClickOnce app 5 88
    bigDiff challenge 17 57
    matchUp  challenge 6 34
    I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    779 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

    14 Experts available now in Live!

    Get 1:1 Help Now