Experience 30 -- create a user in sqlserver and create a user in sqlserver

Source: Internet
Author: User

Experience 30 -- create a user in sqlserver and create a user in sqlserver

When it comes to database security issues, you should create a new user to connect to the database without using sa.

1. log on.

2. Security-Logon Name-right-click Create user.
3. General. Enter the login name, select authentication, enter the password, cancel the force password policy, and select the default database.
4. User ing. Select a database.
5. Status. Grant and enable.
6. Right-click instance-properties-security, and enable dual verification.

8. view database permissions. Only basic connection functions can be added.

Note: The user should have as few permissions as possible. after the project is completed, the user can only access the connection.

Once other permissions are involved, you can use the highest permissions for configuration.


SQL server2000 new user

Open Enterprise Manager-security-login-right-built (New login)-select (database access) in the pop-up dialog box, you can select the databases that the user accesses, after you select a database, you can select the corresponding attributes. Generally, you can simply select DB_OWNER.

Sqlserver2005 New User Name

After logging in
Security ---> Login Name (right-click) ----> New Login Name ----->
GENERAL: Select SQL server Authentication...
Server role: Select sysadmin
User ing: select the database you want to associate with. The permissions are given below. Generally, all permissions are selected from db_owner and public ..

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.