Oracle 11g Enable Case Sensitive Passwords For Improved Password Security

advertisements

_____________________________________________________________________________________________________________________

The Eucharistic Miracles of the World
Prior to Oracle 11g, the passwords are not case sensitive. But in Oracle 11g we can enable case sensitive passwords by setting sec_case_sensitive_logon parameter value as TRUE. Once the parameter value set as true the user has to provide the password with proper case (upper, lower, mixed) as they created. The parameter can be altered dynamically.

SQL> connect / as sysdba
Connected.
SQL> show parameter sec_case_sensitive_logon;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
sec_case_sensitive_logon             boolean     FALSE
SQL> create user test identified by TesT;

User created.

SQL> grant create session to test;

Grant succeeded.
SQL> connect test/test
Connected.

SQL> connect / as sysdba
Connected.
SQL> alter system set sec_case_sensitive_logon=true ;
System altered.

SQL> connect test/test
ERROR:
ORA-01017: invalid username/password; logon denied


Warning: You are no longer connected to ORACLE.

I have mentioned the password as TesT while creating the user. So I should give TesT as the password while connecting to Oracle.

SQL> connect test/TesT
Connected.
SQL> connect / as sysdba
Connected.
SQL> show parameter sec_case_sensitive_logon

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
sec_case_sensitive_logon             boolean     TRUE
SQL> alter system set sec_case_sensitive_logon=false;

System altered.

SQL> show parameter sec_case_sensitive_logon

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
sec_case_sensitive_logon             boolean     FALSE

_____________________________________________________________________________________________________________________

Website Stats

0 comments:

Post a Comment

Labels

Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)
 

acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer