Home > Oracle Database / Applications Tips > Oracle database administrator > Mike Ault's Oracle "good practices": System security
Oracle Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ORACLE DATABASE ADMINISTRATOR

Mike Ault's Oracle "good practices": System security


Mike Ault
02.23.2007
Rating: -3.83- (out of 5)


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Security must take a high priority in this environment of hackers and crackers breaking into systems, planting worms and viruses, and generally causing mayhem just because they have no moral fiber and probably flunked kindergarten (you know, that part about playing well with others). It is a good practice to implement security-related patches as soon as possible. You should also frequently audit security implementations, including:
  • Audit password, connectivity and the use of third party-tools for access.
  • Automate auditing whenever possible.
  • Maintain audit logs that track when auditing was done, findings and corrective actions.

Minimal privilege grants should be used within your applications. This means that users should be granted those database privileges and object grants required to do their job and no more. It is also considered a good practice to utilize Oracle Roles to group privileges, grants and other roles. Roles allow grouping of application privileges into job-related groups, then as a person is assigned a specific task or tasks the roles associated with that set of tasks is granted to them, no more and no less.

At the database level, encrypt important data within the database. I recently purchased some used fibre channel disks that were supposedly wiped clean of data -- yet several were still formatted and contained data. Besides external threats, encryption of key data prevents internal snooping.

It is also a good practice to implement password aging, expiry and degree-of-difficulty checking. Oracle has provided the Profile capability for this purpose, so use it. As part of this password verification, a table of commonly used (and therefore prohibited) passwords should be maintained and added to frequently. In addition, use profiles to verify that users are not using the same password over and over again. You should also implement the Profile options that lock out users that attempt to guess passwords and generate alerts when this happens.

It is a good practice from the security point of view to ensure Oracle Net is kept up to latest patch levels; no software is perfect, so by keeping software up-to-date the latest security issues are dealt with.

Even though Oracle provides these, it is considered a good practice to restrict the use of the DBA, RESOURCE and CONNECT roles, and develop application specific roles instead. The reasons for not using these Oracle-supplied roles are several-fold:

  • DBA opens the database to virtually unrestricted access. Grant this only to DBAs.
  • RESOURCE allows insert of tables into any tablespace. It grants many privileges that are only needed by high-level developers.
  • CONNECT allows users to create tables and indexes, most users only to access already created objects.

It is a good practice to audit all third-party applications to prevent use of DBA, RESOURCE and CONNECT roles. Many third-party packages insist they need DBA or RESOURCE for the "application" users -- this usually means they had no real DBA support during development, and granting DBA was the easiest way to get around "all those grants." Send them packing until they can tell you what they really need.

Return to Mike Ault's Oracle "good practices."

About the author

Mike Ault is an Oracle database specialist at Quest Software and a recognized Oracle expert with over 16 years' experience as an Oracle DBA and consultant in a variety of industries and companies. A prolific author, Mike has published over 20 Oracle-related books including Oracle Administration and Management, Oracle DBA OCP ExamCram and Oracle10g Grid and RAC. He is a regular contributor to trade publications including Oracle magazine, and frequently presents at major Oracle conferences such as IOUG.

Rate this Tip
To rate tips, you must be a member of SearchOracle.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Oracle database administrator
Understanding SQL string functions
What is the difference between a database engineer, architect and administrator?
Import on one table from dump file
Error during RMAN backup
Can I drop a column in SYS schema?
STATSPACK tool: transaction vs. execution measurement
Should I port from Microsoft Access?
How can I find statistics on total memory usage and database connections?
Installing multiple Oracle homes
Modifying SYS password in a RAC environment

Oracle database security
Oracle delivers database fixes in Critical Patch Update
How to use DBMS_CRYPTO package for Oracle password encryption/hashing
How to decrypt an Oracle password using John the Ripper and checkpwd
How to use the CREATE SESSION command to track Oracle database logins
How to troubleshoot Oracle critical patch updates using OPatch
Can I automate Oracle patching when installing Oracle Standard Edition?
Is it possible to automate Oracle CPUs for a DoD project?
Three steps to help improve Oracle database security
Tips for auditing and securing database backups in Oracle
How to prevent a SQL injection attack in Oracle

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Oracle Development Solutions - SQL, J2EE, XML, SOA
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts