暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

使用Oracle外部身份认证,提高系统安全性

原创 eygle 2005-03-21
448
Oracle允许通过外部身份认证创建用户,这样登陆时可以不需要输入口令,从而提高安全性。

以下是Linux中测试的例子.


[oracle@jumper oracle]$ sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Mon Mar 21 09:44:03 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
show
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning option
JServer Release 9.2.0.4.0 - Production
SQL> show parameters os_authent_prefix
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
os_authent_prefix string ops$
SQL> create user ops$gqgai identified externally;
User created.
SQL> grant connect to ops$gqgai;
Grant succeeded.
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning option
JServer Release 9.2.0.4.0 - Production
[oracle@jumper oracle]$ su - gqgai
Password:
[gqgai@jumper gqgai]$ sqlplus /
SQL*Plus: Release 9.2.0.4.0 - Production on Mon Mar 21 10:08:00 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning option
JServer Release 9.2.0.4.0 - Production
SQL> show user
USER is "OPS$GQGAI"
SQL>
复制


简单测试,仅供参考。

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论