如何代理oracle,Oracle中如何使用 proxy user

Oracle Database 12c supports proxy authentication to the Oracle

database. Proxy authentication is supported over thin and thick JDBC

connections and on the command line. Users can authenticate to the

database using their own credentials and then proxy to another user in

the database. Proxy authentication is particularly useful when

administrators need to connect to the application schema to perform

maintenance. Audit records generated during the connection include the

proxy user name, providing important information on the actual end user

who performed the maintenance activities. Note that the new Oracle

Database 12c Unified Audit can check whether the connection has been

established using a proxy and perform additional auditing. Please refer

to the Oracle documentation for additional details on configuring proxy

authentication with the Oracle database.

SYSTEM> grant create session to steve identified by steve_password;

SYSTEM> grant create session to sales_app_dba identified by sales_app_dba_password;

SYSTEM> alter user sales_app_dba grant connect through steve;

SYSTEM> connect steve[sales_app_dba]/steve_password;

SALES_APP_DBA>

通过使用proxy user可以有效地避免密码泄露问题

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值