讓使用者擁有儲存過程的除錯許可權
許久以來,認為只要對使用者賦予grant debug any procedure許可權,使用者就擁有任何儲存過程及函式的除錯許可權,其實不然,並沒有達到想要的結果!讓使用者擁有儲存過程的除錯許可權,必須同時擁有下列許可權!
1)grant debug any procedure
2)grant debug connect session
Privileges for Debugging PL/SQL and Java Stored Procedures
Starting with Oracle Database 10g, a new privilege model applies to
debugging PL/SQL and Java code running within the database. This model
applies whether you are using Oracle JDeveloper, Oracle Developer, or
any of the various third-party PL/SQL or Java development environments,
and it affects both the DBMS_DEBUG and DBMS_DEBUG_JDWP APIs.
For a session to connect to a debugger, the effective user at the time
of the connect operation must have the DEBUG CONNECT SESSION system
privilege. This effective user may be the owner of a definer's rights
routine involved in making the connect call.
When a debugger becomes connected to a session, the session login user
and the currently enabled session-level roles are fixed as the privilege
environment for that debugging connection. Any DEBUG or EXECUTE
privileges needed for debugging must be granted to that combination of
user and roles.
To be able to display and change Java public variables or variables
declared in a PL/SQL package specification, the debugging connection
must be granted either EXECUTE or DEBUG privilege on the relevant code.
To be able to either display and change private variables or breakpoint
and execute code lines step by step, the debugging connection must be
granted DEBUG privilege on the relevant code
Caution:
The DEBUG privilege effectively allows a debugging session to do
anything that the procedure being debugged could have done if that
action had been included in its code.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/196700/viewspace-694583/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 如何在儲存過程中擁有role的許可權儲存過程
- 儲存過程與許可權儲存過程
- mysql儲存過程的許可權 definerMySql儲存過程
- 儲存過程與許可權(二)儲存過程
- MySQL儲存過程的許可權問題MySql儲存過程
- 資料庫許可權-儲存過程資料庫儲存過程
- EXECUTE IMMEDIATE 儲存過程中 許可權不足及EXECUTE IMMEDIATE的除錯避坑儲存過程除錯
- ORACLE中儲存過程的許可權問題Oracle儲存過程
- all許可權使用者無法執行儲存過程儲存過程
- oracle儲存過程許可權繼承小結Oracle儲存過程繼承
- 儲存過程許可權__Authid Current_User儲存過程
- 檢視、儲存過程以及許可權控制練習儲存過程
- plsqlDevloper 儲存過程的除錯SQLdev儲存過程除錯
- 【許可權】儲存過程執行時,報ORA-01031許可權不足儲存過程
- 呼叫者儲存過程訪問許可權問題儲存過程訪問許可權
- 儲存過程,角色相關的呼叫者許可權和定義者許可權問題儲存過程
- 擁有GRANT ANY OBJECT PRIVILEGE許可權時的許可權回收Object
- 關於檢視和儲存過程的許可權問題探究儲存過程
- 儲存過程中使用Dbms_Scheduler包的許可權問題儲存過程
- 在儲存過程中使用EXECUTE IMMEDIATE報許可權問題儲存過程
- 低權使用者呼叫高權使用者建立的儲存過程出錯儲存過程
- (轉)如何oracle除錯儲存過程Oracle除錯儲存過程
- openGauss 支援儲存過程除錯儲存過程除錯
- MYSQL儲存過程許可權問題分析(Security_type詳解)MySql儲存過程
- Vim儲存時許可權不足
- 定義者許可權儲存過程role無效,必須要有顯式授權儲存過程
- oracle的儲存許可權的檢視Oracle
- Windows 反除錯技術——OpenProcess 許可權過濾Windows除錯
- Sqlserver 2014 用指令碼批次賦予使用者可以執行儲存過程的許可權SQLServer指令碼儲存過程
- pl/sql developer除錯儲存過程報錯處理SQLDeveloper除錯儲存過程
- 詳解Oracle建立使用者許可權全過程Oracle
- MySQL儲存過程除錯工具-dbForge Studio for MySQLMySql儲存過程除錯
- oracle plsql儲存過程除錯出錯_PLS-00361OracleSQL儲存過程除錯
- 檢視不同許可權使用者所擁有的物件物件
- 管理員能否revoke表擁有者delete表的許可權delete
- 儲存裝置許可權不對導致crs啟動出錯
- 刪除私有dblink的儲存過程儲存過程
- 儲存過程誤刪除的恢復儲存過程