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;
반응형