Currently, a system user SYSUSER in Oracle Database has permissions on all tables. Another system wants to access a table in my database. I don't want him to control all tables in my database.
Currently, a system user SYSUSER in Oracle Database has permissions on all tables. Another system wants to access a table in my database. I don't want him to control all tables in my database.
Currently, the Oracle database has a system user SYSUSER who has permissions on all tables. The other system wants to access a table in my database. I don't want him to control all tables in my database ,, I have created a new user who can only access one table in my database. Other permissions are useless.
The specific process is as follows:
1. system user SYS Logon
Conn sys/password as sysdba
2. Create a user
Create user username identified by password
Default tablespace user_data
Temporary tablespace user_temp;
Grant connect, resource to username;
3. Create Table A and authorize
Grant all on User A. tableA TO user B;
4. Synonym
Create synonym user B. tableA FOR user A. tableA;