《19管理角色》-课件设计(公开).pptVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
目标 角色 角色的好处 比较容易的权限管理 动态的权限管理 选择权限的可获得性 可通过操作系统授予 创建角色 角色被自动授予 with ADMIN option: 不用标识: 使用口令: 由外部标识: 预定义角色 修改角色 角色的授权 建立默认角色 应用角色 应用角色只能由授权的 PL/SQL 软件包激活。 使用 USING 软件包子句来创建一个应用角色。 激活和禁止角色 禁止一个角色临时地从一个用户收回该角色。 激活一个角色将临时地授予该角色。 SET ROLE 命令激活和禁止角色。 默认角色在用户登录时激活。 在激活一个角色时可能需要口令。 激活和禁止角色 SET ROLE hr_clerk; 从用户那回收角色 删除角色 删除角色: 从所有用户和所授权的角色那删除该角色。 从数据库中删除该角色。 需要 ADMIN OPTION 或 DROP ANY ROLE 权限 删除一个角色: 创建角色指南 使用口令和默认角色指南 获得角色的信息 本课程版权归北风网所有 欢迎访问我们的官方网站 Assigning Roles To grant a role to a user, use the same syntax command that you used to grant a system privilege to a user: GRANT role [, role ]... TO {user|role|PUBLIC} [, {user|role|PUBLIC} ]... [WITH ADMIN OPTION] where: role: Is a collection of roles to be granted PUBLIC: Grants the role to all users WITH ADMIN OPTION: Enables the grantee to grant the role to other users or roles. (If you grant a role with this option, then the grantee can grant and revoke the role from other users and alter or drop the role.) Establishing Default Roles A user can be assigned many roles. A default role is a subset of these roles that is automatically enabled when the user logs on. By default, all the roles assigned to a user are enabled at logon without the need of a password. Limit the default roles for a user with the ALTER USER command. The DEFAULT ROLE clause applies only to roles that have been granted directly to the user with a GRANT statement. The DEFAULT ROLE clause cannot be used to enable the following: Roles not granted to the user Roles granted through other roles Roles managed by an external service (such as the operating system) Use the following syntax to assign default roles to a user: ALTER USER user DEFAULT ROLE {role [,role]... | ALL [EXCEPT role [,role]... ] | NONE} where: user: Is the name of the user who is granted the roles role: Is the role to be made the default role for the user Application Roles The USING package clause in the CREATE ROLE statement creates an application role. An applic

您可能关注的文档

文档评论(0)

花好月圆 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档