From the course: Red Hat Enterprise Linux 8 Essential Training
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Configure access control on directories
From the course: Red Hat Enterprise Linux 8 Essential Training
Configure access control on directories
- [Instructor] I had mentioned in a previous video that Apache has some directives for restricting access based on user, group, network or host. Let's take a closer look. With require user, access is granted to a specific user based on the username or user ID. We can deny the same way with not require user. Let's see what this looks like. To allow user access by user we just specify their name. To deny by user we change it to not require user and again specify their name. We can allow or deny by group as well by using require group and not require group. For both we can just specify the group name. With require valid users, access is granted only to valid users. For more broad control we can allow or deny based on network addresses by using require ip and not require ip directives. To use this, we specify the network address without the host portion. If you want to allow or deny based on host name use the require host or not require host directives. You can specify a host or even a…
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
-
-
-
-
-
-
-
-
-
-
-
Web services introduction44s
-
Install and configure Apache4m 47s
-
Manage SELinux for web services3m 22s
-
Configure a basic Apache web server2m 6s
-
Configure access control on directories2m 2s
-
Configure private access using basic auth7m 24s
-
Configure group-managed content7m 32s
-
Configure a virtual host5m 36s
-
Configure a virtual host on a nonstandard port6m 5s
-
Configure a secure virtual host4m 24s
-
Deploy a basic CGI application2m 24s
-
Generating key pairs and self-signed certificates4m 28s
-
Challenge: Web services private site53s
-
Solution: Web services private site6m 25s
-
Deploy a basic CGI application2m 13s
-
-
-
-
-
-