Auditing an Oracle database for security issues is very important. PeteFinnigan.com provides all of the information and tools that you will need Click here for details of PeteFinnigan.com Limited's detailed Oracle database security audit service Click here for details of PeteFinnigan.com Limited's Oracle Security Training Courses
There are 50 visitors online    

Pete Finnigan's Oracle security weblog


Home » Archives » November 2009 » Creating users creatively

[Previous entry: "Russian Oracle Security Book"] [Next entry: "Pre-Announcement - Oracle Security Training in York in 2010"]

Creating users creatively

November 12th, 2009 by Pete

Post to del.icio.us   Post to Furl   Digg!

I saw a nice post on Alex Nuijten's blog yesterday titled "Create Users with DBMS_METADATA" via my Oracle blogs aggregator that talks about Alex's use of DBMS_METADATA to copy database users from one database to another by generating the DDL for user creations including all of the granted roles, system privileges and object privileges. This is an easy way to copy users and obviously beats the old ways of trying to derive this knowledge from the data dictionary yourself.

The reason I want to highlight this is really to emphasise the fact that there is more than one way to achive something in Oracle; This is important; its not just about creating users but about deducing the privileges and status of users in this case without directly selecting that detail from the dictionary. The simplistic view of security is to protect data (in this case meta-data) at source, a simplistic view would be to review the direct select privileges on SYS.USER$ or DBA_USERS and all the associated views and base tables such as DBA_SYS_PRIVS or DBA_ROLE_PRIVS or DBA_TAB_PRIVS but there are other ways to read data in this case by using DBMS_METADATA to get the same information. This post by Alex is useful is showing that there is more than one route to user details.

There has been 2 Comments posted on this article


November 13th, 2009 at 11:33 pm

joel garry says:

I'm still wondering if it is a great idea for OCM to spit out a world-readable list of all database users every day. sleepy



November 16th, 2009 at 02:38 pm

Pete says:

Hi Joel,

Thanks for your post; obviously its crazy, crazy - there is still some way to go with basics of securing data; a lot of focus is on hacking, bugs, CPU's, exploits etc which is fine but some of the focus needs to be on the basics; default installs, passwords, data leaks, configuration.... i.e. all the bits we as customers of Oracle are responsible for.

cheers

Pete


November 2009
SMTWTFS
1234567
891011121314
15161718192021
22232425262728
2930     

This is the weblog for Pete Finnigan. Pete works in the area of Oracle security and he specialises in auditing Oracle databases for security issues. This weblog is aimed squarely at those interested in the security of their Oracle databases.

Weblog Home
Weblog Archives

Oracle Security Step-by-Step (Version 2.0)

Home
Oracle Security Tools page
Oracle security papers
Oracle Security alerts

Web Development
SQL Server Security

RSS 1.0 FEED
RSS 2.0 FEED
Atom 0.3 FEED
Powered by gm-rss 2.0.0




View Pete Finnigan's profile on LinkedIn

Pete Finnigan

Create Your Badge



Valid XHTML 1.0!