Database
(原创部分,只要在客户端两个项目都是required,服务器端不用管sqlnet.ora,就可以自动生效了,而且如果看效果的话,直接select * from v$session_connect_info试图里就有,11g比10g的字段多一些,“Oracle Advanced Security: DES encryption service adapter”只要有你设置的加密算法就行了,数据一致性校验同理而已。)
Oracle
1.网络传输加密(包括ssl)
2.完整性校验
一.网络传输加密:
网络传输加密即将客户端也server段之间传输的数据进行加密:
Oracle提供了很多加密方法来实现这一功能,
完整性校验也同样依赖这些加密算法来实现
[oracle@vm10g
Installed
Installed
Installed
Windows
2.网络传输安全加密的方式:
关于网络传输加密的配置条目大约有3行
SQLNET.ENCRYPTION_SERVER
SQLNET.CRYPTO_SEED
SQLNET.ENCRYPTION_TYPES_SERVER=
Client | Server | Encryption |
REJECTED | REJECTED | OFF |
ACCEPTED | REJECTED | OFF |
REQUESTED | REJECTED | OFF |
REQUIRED | REJECTED | Connection |
REJECTED | ACCEPTED | OFF |
ACCEPTED | ACCEPTED | OFF |
REQUESTED | ACCEPTED | ON |
REQUIRED | ACCEPTED | ON |
REJECTED | REQUESTED | OFF |
ACCEPTED | REQUESTED | ON |
REQUESTED | REQUESTED | ON |
REQUIRED | REQUESTED | ON |
REJECTED | REQUIRED | Connection |
ACCEPTED | REQUIRED | ON |
REQUESTED | REQUIRED | ON |
REQUIRED | REQUIRED | ON |
在netmgr的profile中的oracle
但是在使用之前必须在
INSTALLEDCOMPONENTS=后面的参数改成下面这种才会显示高级安全选项来。
INSTALLEDCOMPONENTS=CLIENT,NET8,JAVAVM,SERVER,ANO
3.如可查看是否生效:
开启trace
trace_level_server=16---#必填
trace_level_client=16---#client填
trace_directory_server=/home/oracle/server---#sever填
trace_directory_client=/home/oracle/clinet
trace_file_client=cli
trace_file_server=srv
trace_unique_client=true
客户端连接后就会在相应的目录下产生效应的trace在里面搜一下就能看到
[10-JUL-2012
[10-JUL-2012
[10-JUL-2012
[10-JUL-2012
srv.trc
[10-JUL-2012
[10-JUL-2012
[10-JUL-2012
[10-JUL-2012
[10-JUL-2012
[10-JUL-2012
[10-JUL-2012
[10-JUL-2012
[10-JUL-2012
[10-JUL-2012