Ch. 12 Implementing Security and Audit Flashcards
Authentication Types: Password auth. External a Global a
Validating and identity of the user and confirming the authority to use
Password Auth
SQL>CREATE USER inventuser IDENTIFIED BY Bcit2011;
Password-authenticated user accounts
- Most common
Encrypted password is stored in data dictionary
Remove user
User account is unlocked by default at creation
SQL>DROP USER inventuser;
Can drop or drop user with all objects the user owns. When dropping a user implicitly, it drops any object privileges in which user was grantor
SQL>DROP USER inventuser CASCADE;
External authentication
DB verifies username is a valid db account and trusts OS has performed auth.
Login to db doesnt require username or pw
[oracle@localhost~]$ sqlplus/
Refer as OPS$ accounts
(legacy from version 6)
OS_AUTHENT_PREFIX configured in spfile, for example, to set up login_id oracle:
SQL>CREATE USER ops$oracle IDENTIFIED EXTERNALLY;
Typically used for admin scripts not exposing p/w
Global Authentication
DB verifies username is valid and passes connection info to advance security option for authentication (eg Biometrics, X.509 certificates, Radius)
Dont store or validate pw in the db
Example set up login_id:
SQL>CREATE USER spy_master IDENTIFIED
GLOBALLY AS ‘CN=spy_master, OU=tierr2, O=security, C=Can’;