Oracle database privileges and Roles

Source: Internet
Author: User

(1) privilege: the privilege is the power to execute a special type of SQL statement or access another user's object. There are two types of privileges: SYSTEM privileges and object privileges.

System privilege: it is the right to execute a special action or to execute a special action on the object type. Oracle has over 60 different system privileges, each of which allows users to perform a special database operation or a class of database operations.

System privileges can be authorized to users or roles. Generally, SYSTEM privileges are provided to all management personnel and application developers. End users do not need these functions. system privileges authorized to a user and granted to other users or roles. otherwise, you can revoke SYSTEM privileges from authorized users or roles.

Object privileges: the right to execute special actions on a specified table, view, sequence, process, function, or package. Different types of objects have different types of object privileges. Some schema objects, such as clustering, indexing, triggers, and database chains, do not have related object privileges, which are controlled by system privileges.

For objects in a mode that contains a user name, the user automatically has all object privileges for these objects, that is, the mode owner has all object privileges for objects in the mode. The owner of these objects can grant any object privileges on these objects to other users. If the authorized user includes the grant option authorization, the authorized user can GRANT the permissions to other users.

  • 1
  • 2
  • Next Page
[Content navigation]
Page 1: Privileges Page 2: Roles

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.