Home > Database > Mysql Tutorial > body text

SQL Server 2008新建用户,并只给该用户读

WBOY
Release: 2016-06-07 17:44:46
Original
1281 people have browsed it

SQL Server 2008新建用户,并只给该用户读

SQL Server 2008新建用户,网站空间,并只给该用户读取、更新、删除,免备案空间,及修改表结构的权限

创建好用户后,几个需要赋权限的地方,写出来以备后用。

1.在安全性用户属性中,登录用户的服务器角色为public

2. 用户映射到数据的数据库角色成员身份为:db_owner和public,服务器空间,默认架构为dbo

3. 状态为允许连接到数据引擎和登录

在允许访问的数据库属性权限中,创建用户权限

1.加上读取、更新、删除,

2.加上控制和连接复制这两个,用户可以在sql server管理界面中直接连接,

3.加上更改任意架构,用户可以修改表结构

把其他的权限设为拒绝,这样他就只有读取、更新、删除,及修改表结构的权限

posted on

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!