|
Oracle Home |
|
Home > Oracle Database Administration (DBA) > Maintenance > Managing Data Security |
|
Oracle Database 10g Administration (DBA): Maintenance |
|---|
Managing Data Security |
|
How to change the password for an user
ALTER USER scott identified by scott;
How to enforce strict password control
By default, Oracle will allow users to choose single character passwords and passwords that match their names and userids. Also, by default the password will not expire. However, Oracle manage passwords through profiles. Some of the things that we can restrict:
FAILED_LOGIN_ATTEMPTS - failed login attempts before the account is locked PASSWORD_LIFE_TIME - limits the number of days the same password can be used for authentication PASSWORD_GRACE_TIME - number of days after the grace period begins during which a warning is issued and login is allowed PASSWORD_LOCK_TIME - number of days an account will be locked after maximum failed login attempts PASSWORD_REUSE_TIME - number of days before a password can be reused PASSWORD_REUSE_MAX - number of password changes required before the current password can be reused PASSWORD_VERIFY_FUNCTION - password complexity verification script
Example: 1) Create the profile: CREATE PROFILE profile_A LIMIT FAILED_LOGIN_ATTEMPTS 7; 2) Associate the profile with an user: ALTER USER scott PROFILE profile_A
How to connect as sys without knowing his password
If an administrative OS users belongs to the "dba" group on Unix or to the "ORA_DBA" (ORA_sid_DBA) group on NT, we can connect to oracle like this:
connect / as sysdba
We can use show user command to verify that we are connected as SYS.
How to connect as a regular user without knowing his password
Allowing/ Removing SELECT, DELETE, UPDATE, INSERT privileges on tables
GRANT select, update, delete, insert on SCOTT.EMP to PAUL; REVOKE select, update, delete, insert on SCOTT.EMP FROM PAUL;
"PAUL" could be a user (schema) or a role.
Allowing/ Removing EXECUTE privileges on procedures, functions, packages
grant EXECUTE on SCOTT.F1 to PAUL; (Paul will be able to run (execute) scott.F1 function ) revoke EXECUTE on SCOTT.F1 from PAUL;
More information about this subject ( Managing Data Security in Oracle ) you can get from www.in-oracle.com
Here are some general information about the data security:
The activities related to this step take place after all other steps in data security are complete, and all affected data or network systems are restored. The purpose of the this data management step is to review the security incident and determine how to prevent the same type of successful data or network attack in the future as well as to identify areas for improvement to facilitate faster response and better business impact mitigation. Using documents created during the Detect, Contain, and Eradicate steps, the IRTs seek to answer the following questions:
More information on this subject was taken from here.
|
|
Home > Oracle Database Administration (DBA) > Maintenance > Managing Data Security |
|
Different Romanian Links/ Linkuri romanesti diferite |
Disclaimer: The views expressed on this web site are my own and do not reflect the views of Oracle Corporation. You may use the information from this site only at your risk. Copyright (c) 2009-2011 Paul Catalin Tomoiu. All rights reserved.