Oracle User Rights Assignment Description

Source: Internet
Author: User

In general, it is not recommended to assign DBA authority after an Oracle normal user is created. So what permissions are generally assigned?

First of all, an Oracle general user, our general requirements are:

1. Be able to create the table structure, data maintenance under this user's related.

2. Ability to access other users ' tables (see System Properties).

Therefore, the following statements are generally used:

Grant Connect,resource to base;//set control permissions on the local resource, grant create session to base;//setting can access the user grant Select any table to B through the tool    ase;//settings can access other user tables grant Select any sequence to base;//settings can access other users ' indexes

Problem:

Many people will run the following SQL, that need not?

Grant CREATE TABLE     to    base;grant create sequence  to    base;grant CREATE procedure to    base;grant  Select any table to    base;grant Select any sequence to base;grant inserts any table,update any table,delete any table to Base

After the experiment, it should not be necessary.

After executing standard SQL, query via sql: SELECT * from Session_privs;

As you can see, you already have create-related permissions.

Oracle User Rights Assignment Description

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.