DATABASE

오라클) 한 스키마의 모든 권한을 다른 스키마에게 줄 수 있을까?

Rainbound-IT 2022. 9. 5. 16:15
반응형

 

 

직접적으로 줄수도 없고 보안상 굉장히 안좋은 방법이라고 한다.

 

 

 

1. 특정 스키마의 특정 테이블만 권한 부여.

GRANT SELECT ON [owner schema].[tableName] TO [other schema];

 


2. 시스템 권한인 모든 유저의 테이블 접근권한 부여

GRANT SELECT ANY TABLE TO 대상 유저;

 

 

 

3. 프록시 연결을 통한 접근 부여

 

alter user user1 grant connect through user2;

 

https://stackoverflow.com/questions/43920461/is-it-possible-that-one-user-creates-a-table-in-a-schema-of-another-user-and-hav

 

Is it possible that one user creates a table in a schema of another user and have all privileges to his schema?

I have two users, USER1 and USER2. I want to do this: Give all permissions to the USER2 for USER1 schema. That USER2 can create table, insert, update, delete, drop etc.. in USER1 schema When USER2

stackoverflow.com

 

 

 

 

반응형