Oracle 建議撤消 PUBLIC 對功能強大的程式包的 EXECUTE 許可權

來源:互聯網
上載者:User

Oracle 建議撤消 PUBLIC 對功能強大的程式包的 EXECUTE 許可權

 

程式包 UTL_FILE

程式包 DBMS_RANDOM UTL_HTTP UTL_SMTP UTL_TCP

 

解決:

revoke execute on utl_file from public;

revoke execute on DBMS_RANDOM from public;

revoke execute on UTL_HTTP from public;

revoke execute on UTL_SMTP from public;

revoke execute on UTL_TCP from public;

-------------------------------------------------

(1):BUG: 

在em-console 控制台看到      ----

   策略規矩                                                                                       建議案                                                                        詳細資料

EXECUTE UTL_FILE 許可權    Oracle 建議撤消PUBLIC對功能強大的程式包的EXECUTE 許可權             程式包t('3')

 

 

(2):

    解決---

[oracle@localhost pfile]$ sqlplus  /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Wed Mar 4 12:20:30 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> conn  /as  sysdba;
Connected.
SQL> revoke  execute  on  utl_file from  public;

Revoke succeeded.
SQL> revoke  execute on  DBMS_RANDOM  from  public;  

Revoke succeeded.

SQL> revoke  execute on UTL_HTTP  from  public;

Revoke succeeded.

SQL> REVOKE  EXECUTE  ON UTL_TCP  FROM  PUBLIC;

Revoke succeeded.

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.