天天看點

PLSQL_Oracle Logon Trigger的建立

20150609 Created By BaoXinjian

一、摘要

oracle logon trigger一般用來審計使用者登入資訊或者限制使用者登入,雖說不常用,但仍不失為一種好辦法。

1. 不能審計dba使用者登入

2. 什麼時候适合使用

It is advised you use this trigger only when

(1) not using archive logging on the database or

非歸檔模式

(2) there are few logons to the database.

登入次數少

二、鎖定統計資訊

Step1. 建立審計表

Step2.  建立Logon Trigger

Step3. 使用普通賬号登陸,用以測試檢視BXJ_LOGONLOG審計表記錄

Step4. 使用WWW賬号登陸,用以測試是否允許登入

Step5. 使用GAVINTEST賬号登陸,用以而是是否産生trace file

Thanks and Regards

參考:Matelink - How To Create A Trigger To Capture User Information On Logon [ID 454088.1]

<b>ERP技術讨論群: 288307890</b>

<b>技術交流,技術讨論,歡迎加入</b>

<b>Technology Blog Created By Oracle ERP - 鮑建立</b>

上一篇: nginx 限流
下一篇: nginx限流