You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Security is a core strength of Oracle Database. Oracle provides a comprehensive security model that includes authentication, authorisation, encryption, auditing, and fine-grained access control. This lesson covers the essential security features every Oracle professional should know.
In Oracle, a user and a schema are closely related:
-- Create a user
CREATE USER app_user IDENTIFIED BY SecurePass123
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp
QUOTA 500M ON users;
-- Change a password
ALTER USER app_user IDENTIFIED BY NewSecurePass456;
-- Lock/unlock an account
ALTER USER app_user ACCOUNT LOCK;
ALTER USER app_user ACCOUNT UNLOCK;
-- Drop a user and all their objects
DROP USER app_user CASCADE;
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.