Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\online_help\tdpsg\tdpsg_auditing011.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Individually Auditing Privileges</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-06-02T18:13:3Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Individually Auditing Privileges" /> <meta name="relnum" content="11g Release 2 (11.2)" /> <meta name="partnum" content="E10575-01" /> <link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="prev" href="tdpsg_auditing010.htm" title="Previous" type="text/html" /> <link rel="next" href="tdpsg_auditing012.htm" title="Next" type="text/html" /> <script src="./callback.js" type="text/javascript"></script> <noscript>Your browser does not support JavaScript. This help page requires JavaScript to render correctly.</noscript> </head> <body> <div class="zz-skip-header"><a href="#BEGIN">Skip Headers</a></div> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="tdpsg_auditing010.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpsg_auditing012.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CEGIHJFI" name="CEGIHJFI"></a><a id="TDPSG50524" name="TDPSG50524"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1>Individually Auditing Privileges</h1> <a name="BEGIN" id="BEGIN"></a> <p><a id="sthref482" name="sthref482"></a><a id="sthref483" name="sthref483"></a>Privilege auditing is a way to audit statements that can use a system privilege, such as the <code>SELECT</code> <code>ANY</code> <code>TABLE</code> statement. You can audit the use of any system privilege. Similar to statement auditing, privilege auditing can audit the activities of all database users or of only a specified list. As with SQL statement auditing, you use the <code>AUDIT</code> and <code>NOAUDIT</code> statements to enable and disable privilege auditing. In addition, you must have the <code>AUDIT SYSTEM</code> system privilege before you can enable auditing.</p> <p><a id="sthref484" name="sthref484"></a><a id="sthref485" name="sthref485"></a>Privilege audit options match the corresponding system privileges. For example, the option to audit use of the <code>DELETE ANY TABLE</code> privilege is <code>DELETE ANY TABLE</code>. For example:</p> <pre xml:space="preserve" class="oac_no_warn"> AUDIT DELETE ANY TABLE BY ACCESS WHENEVER NOT SUCCESSFUL; </pre> <p>To audit all successful and unsuccessful uses of the <code>DELETE ANY TABLE</code> system privilege, enter the following statement:</p> <pre xml:space="preserve" class="oac_no_warn"> AUDIT DELETE ANY TABLE; </pre> <p>To audit all unsuccessful <code>SELECT</code>, <code>INSERT</code>, and <code>DELETE</code> statements on all tables and unsuccessful uses of the <code>EXECUTE PROCEDURE</code> system privilege, by all database users, and by individual audited statement, issue the following statement:</p> <pre xml:space="preserve" class="oac_no_warn"> AUDIT SELECT TABLE, INSERT TABLE, DELETE TABLE, EXECUTE PROCEDURE BY ACCESS WHENEVER NOT SUCCESSFUL; </pre> <div class="helpinfonotealso"> <h2>Related Topics</h2> <p><a href="tdpsg_auditing005.htm#BCGDDGEC">About Standard Auditing</a></p> <p><a href="tdpsg_auditing006.htm#CEGIDHAG">Enabling or Disabling the Standard Audit Trail</a></p> <p><a href="tdpsg_auditing015.htm#BCGHGJBG">Tutorial: Creating a Standard Audit Trail</a></p> </div> </div> <!-- class="sect2" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2006, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="tdpsg_auditing010.htm"><img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="tdpsg_auditing012.htm"><img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de