Oracle 表访问权限控制
目前Oracle数据库有一个系统用户SYSUSER拥有所有表的权限,另外一个系统想访问我数据库中的一张表,我不想他控制我数据库的所有表
目前Oracle数据库有一个系统用户SYSUSER拥有所有表的权限,另外一个系统想访问我数据库中的一张表,我不想他控制我数据库的所有表,,所有我就新建了一个用户,控制这个用户只能访问我数据库中的一张表,其他权限都没用。
具体过程如下:
1.系统用户SYS登录
conn sys/password as sysdba
2.创建用户
create user username identified by password
default tablespace user_data
temporary tablespace user_temp;
grant connect,resource to username;
3.建表 tableA,授权
GRANT ALL ON 用户A.tableA TO 用户B;
4.建同义词
CREATE SYNONYM 用户B.tableA FOR 用户A.tableA;
本文永久更新链接地址:

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Detailed tutorial on establishing a database connection using MySQLi in PHP

iOS 18 adds a new 'Recovered' album function to retrieve lost or damaged photos

How to handle database connection errors in PHP

How does Go WebSocket integrate with databases?

How to use database callback functions in Golang?

How to handle database connections and operations using C++?

Top 10 global digital currency trading apps recommended (2025 currency trading software ranking)

How to install and register the btc trading app?
