欢迎来到三一办公! | 帮助中心 三一办公31ppt.com(应用文档模板下载平台)
三一办公
全部分类
  • 办公文档>
  • PPT模板>
  • 建筑/施工/环境>
  • 毕业设计>
  • 工程图纸>
  • 教育教学>
  • 素材源码>
  • 生活休闲>
  • 临时分类>
  • ImageVerifierCode 换一换
    首页 三一办公 > 资源分类 > PPT文档下载  

    《用户权限角色》PPT课件.ppt

    • 资源ID:5554216       资源大小:367.50KB        全文页数:14页
    • 资源格式: PPT        下载积分:15金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要15金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    《用户权限角色》PPT课件.ppt

    Controlling User Access(控制用户访问),Quality is not an act!Its a habit.,Objectives,After completing this lesson,you should be able to do the following:Create users(创建用户)Create roles to ease setup and maintenance of the security model(创建角色)Use the GRANT and REVOKE statements to grant and revoke object privileges(授予和回收权限),Quality is not an act!Its a habit.,Controlling User Access(控制用户概述),Databaseadministrator,Users,Username and passwordPrivileges,Quality is not an act!Its a habit.,Creating Users(创建用户),The DBA creates users by using the CREATE USER statement.,CREATE USER scottIDENTIFIED BY tiger;User created.,CREATE USER user IDENTIFIED BY password;,Quality is not an act!Its a habit.,User System Privileges(用户的系统权限),Once a user is created,the DBA can grant specific system privileges to a user.(DBA赋予用户系统权限)An application developer,for example,may have the following system privileges:(最常用的用户系统权限)CREATE SESSIONCREATE TABLECREATE SEQUENCECREATE VIEWCREATE PROCEDURE,GRANT privilege,privilege.TO user,user|role,PUBLIC.;,Quality is not an act!Its a habit.,Granting System Privileges(赋权限),The DBA can grant a user specific system privileges.,GRANT create session,create table,create sequence,create viewTO scott;Grant succeeded.,Quality is not an act!Its a habit.,What is a Role?(角色的概念),Allocating privilegeswithout a role,Allocating privilegeswith a role,Privileges,Users,Manager,Quality is not an act!Its a habit.,Creating and Granting Privileges to a Role(创建角色,赋予权限),CREATE ROLE manager;Role created.,GRANT create table,create view TO manager;Grant succeeded.,GRANT manager TO DEHAAN,KOCHHAR;Grant succeeded.,Create a role(创建角色)Grant privileges to a role(赋予角色权限)Grant a role to users(赋予用户角色),Quality is not an act!Its a habit.,Object Privilege TableViewSequenceProcedureALTER DELETE EXECUTE INDEX INSERT REFERENCES SELECT UPDATE,Object Privileges(对象权限),Quality is not an act!Its a habit.,Granting Object Privileges(例子),Grant query privileges on the EMPLOYEES table.Grant privileges to update specific columns to users and roles.,GRANT selectON employeesTO sue,rich;Grant succeeded.,GRANT update(department_name,location_id)ON departmentsTO scott,manager;Grant succeeded.,Quality is not an act!Its a habit.,Using the WITH GRANT OPTION and PUBLIC Keywords,Give a user authority to pass along privileges.(With grant option可传递权限)Allow all users on the system to query data from Alices DEPARTMENTS table.(Public是所有用户),GRANT select,insertON departmentsTO scottWITH GRANT OPTION;Grant succeeded.,GRANT selectON alice.departmentsTO PUBLIC;Grant succeeded.,Quality is not an act!Its a habit.,How to Revoke Object Privileges(回收权限),You use the REVOKE statement to revoke privileges granted to other users.Privileges granted to others through the WITH GRANT OPTION clause are also revoked.(With grant option权限也同时回收),REVOKE privilege,privilege.|ALLON objectFROM user,user.|role|PUBLICCASCADE CONSTRAINTS;,Quality is not an act!Its a habit.,Revoking Object Privileges(回收权限例子),As user Alice,revoke the SELECT and INSERT privileges given to user Scott on the DEPARTMENTS table.,REVOKE select,insertON departmentsFROM scott;Revoke succeeded.,Quality is not an act!Its a habit.,Summary(小结),StatementActionCREATE USERCreates a user(usually performed by a DBA)GRANTGives other users privileges to access the your objectsCREATE ROLECreates a collection of privileges(usually performed by a DBA)ALTER USERChanges a users passwordREVOKERemoves privileges on an object fromusers,In this lesson,you should have learned about DCL statements that control access to the database and database objects:,

    注意事项

    本文(《用户权限角色》PPT课件.ppt)为本站会员(小飞机)主动上传,三一办公仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一办公(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-2

    经营许可证:宁B2-20210002

    宁公网安备 64010402000987号

    三一办公
    收起
    展开