安装卸载Oracle Label Security

本文给大家简单演示一下在Linux操作系统下,Oracle 11g环境中如何安装和卸载Oracle Label Security。

1.操作系统信息
ora11g@secdb /home/oracle$ uname -a
Linux secdb 2.6.18-194.el5 #1 SMP Mon Mar 29 20:06:41 EDT 2010 i686 i686 i386 GNU/Linux

2.数据库版本信息
sys@ora11g> select * from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE    11.2.0.1.0      Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production

3.安装Oracle Label Security
1)使用catols.sql脚本创建Oracle Label Security所需要用户LBACSYS及数据库对象
sys@ora11g> @?/rdbms/admin/catols.sql
……此处省略脚本执行信息……

2)确认脚本创建的数据库对象均有效
sys@ora11g> select object_type,object_name from dba_objects where wner='LBACSYS' and status='INVALID';

no rows selected

可见,LBACSYS用户中不存在无效的数据库对象。

3)探查LBACSYS用户中涉及到的数据库对象信息
sys@ora11g> select object_type,count(*) from dba_objects where wner='LBACSYS' group by object_type;

OBJECT_TYPE           COUNT(*)
------------------- ----------
SEQUENCE                     2
PROCEDURE                    5
PACKAGE BODY                23
LIBRARY                     10
PACKAGE                     24
LOB                          1
TYPE BODY                    5
TRIGGER                      3
FUNCTION                    35
VIEW                        57
TABLE                       21
INDEX                       28
TYPE                        10

13 rows selected.

以上数据库对象均为Oracle Label Security所使用到的数据库对象。

到此,Oracle Label Security便安装完毕。

以下我们介绍一下卸载Oracle Label Security的方法。

4.卸载Oracle Label Security
卸载Oracle Label Security也仅需执行一个catnools.sql脚本即可。

sys@ora11g> @?/rdbms/admin/catnools.sql
……此处省略脚本执行信息……


删除较之创建迅速很多。不用等待太长时间便可以完成卸载任务。
主要完成的任务是将OLS用到的数据库对象drop掉,最后将用户LBACSYS删除。

5.小结
安装OLS只是使用的前提条件,真正用好OLS是需要精心设计和实施的。

Good luck.

secooler
11.03.17

-- The End --


  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
authors: Marlene Theriault William Heney Publisher: O'Reilly First Edition October 1998 (目录) Security in an oracle System Chapter 1 Oracle and Security What’s It All About? The Oracle Security Model Procedures, Policies, and Plans If I Had a Hammer... Chapter 2 Oracle System Files What’s in the Files? The Instance and the Database: Starting an Oracle Database Types of Database Files Chapter 3 Oracle Database Objects The User Interface: User Versus Schema Objects Tables Table Triggers Views Stored Programs Synonyms Privileges Roles Profiles Chapter 4 The Oracle Data Dictionary Creating and Maintaining the Data Dictionary The Data Dictionary Views About SQL.BSQ Views Used for Security The Composition of the Views Chapter 5 Oracle Default Roles and User Accounts About the Defaults The CONNECT Role The RESOURCE Role The DBA Role The SYSDBA and SYSOPER Roles Using the Default Roles Default User Accounts Segmenting Authority in the Database Chapter 6 Profiles, Passwords, and Synonyms Profiles Passwords Synonyms Implementing Security Chapter 7 Developing a Database Security Plan About the Security Policy and Security Plan Types of Accounts Standards for Accounts Standards for Usernames Standards for Passwords Standards for Roles Standards for Views Standards for the Oracle Security Server Standards for Employees Sample Security Plan Index Sample Security Plan Checklist Chapter 8 Installing and Starting Oracle Segmenting Application Processing Installing Oracle Securely Connecting to the Database Without a Password Installing and Configuring SQL*Net Setting Up Initialization Parameters for Security Chapter 9 Developing a Simple Security Application The Application Overview Preparing the Role-Object Matrix Views Roles Grants Application Control of Access Chapter 10 Developing an Audit Plan Why Audit? Where to Audit How Auditing Works Auditing and Performance Default Auditing Types of Auditing Purging Audit Information Chapter 11 Developing a Sample Audit Application About the Audit Trail Application About Performance and Storage Using the Audit Data in Reports SQL Scripts to Generate Scripts Chapter 12 Backing Up and Recovering the Database What Are the Backup Options? What’s New for Oracle8? What Are the Recovery Options? Chapter 13 Using the Oracle Enterprise Manager What Is the OEM? The DBA Toolkit and Security OEM and the Job Scheduler OEM and the Event Management System Chapter 14 Maintaining User Accounts Application Design Requirements Running the Application Documenting the User State A Sample Script Enhanced Oracle Security Chapter 15 Using the Oracle Security Server About Cryptography Ways to Authenticate Users What’s in the OSS? Configuring and Using the OSS Chapter 16 Using the Internet and the Web Web Basics Evaluating Web Assets and Risks Protecting a Web Site Getting Users Involved Chapter 17 Using Extra-Cost Options Trusted Oracle Advanced Networking Option Oracle Application Server Appendix References Oracle Books Security Books Oracle Electronic References Security Electronic References (英文版)

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值