From the course: Complete Guide to SQL for Data Engineering: from Beginner to Advanced
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Understanding users and roles in SQL - SQL Tutorial
From the course: Complete Guide to SQL for Data Engineering: from Beginner to Advanced
Understanding users and roles in SQL
- [Instructor] Users and roles are the key to controlling who gets in and what they can do in your SQL database. Imagine users are like individual employees, each with a unique digital identity, such as user IDs, your employee IDs like that. Meanwhile, roles are comparable to the project team, such as they're part of a sales team, marketing team, operations, et cetera. Just as you assign an employee to a project for efficient task management, similarly, in the SQL, you give roles to specific users. For example, to user one, you give the roles of a sales team. For user two, you might give roles of admin. In SQL, a user is a distinct entity that can connect to a database. User have individual identities and credential for authentication. For example, when you have an employee in your team, it has its own user ID and password to log into the database, right? That could be a user. In SQL, a role is a named group of…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Introduction to database security5m 55s
-
(Locked)
Understanding users and roles in SQL4m 41s
-
(Locked)
Creating users and assigning roles8m 35s
-
(Locked)
Granting and revoking permissions9m 33s
-
(Locked)
Using roles for permission management6m 34s
-
(Locked)
Best practices for managing roles and permissions7m 10s
-
(Locked)
Challenge: Create a role27s
-
(Locked)
Solution: Create a role1m 1s
-
(Locked)
-
-
-
-