1
00:00:00,150 --> 00:00:06,670
In third case, what we want to allow us to our www.example1.com, which is running on one

2
00:00:06,690 --> 00:00:12,070
IP from everywhere except 172.240.0.10.

3
00:00:12,750 --> 00:00:20,520
Now, we are going to edit this, our httpd.config file and what we are going to specify.

4
00:00:20,760 --> 00:00:24,900
/var/www/html/example1.

5
00:00:25,350 --> 00:00:31,400
Now we are going to say RequireAll, then we are going to use one another Require all granted mean

6
00:00:31,460 --> 00:00:39,210
great assets to everybody that mean 192 series, 10 series, any IP address.

7
00:00:39,570 --> 00:00:46,500
And then we are specifying Require not IP 172.24.0.10 that mean we do not want access from this system.

8
00:00:47,010 --> 00:00:54,240
Then we are going to close this parameter, then we are going to test this configuration, then we will

9
00:00:54,250 --> 00:00:56,640
reload this server.

10
00:00:57,120 --> 00:01:01,140
Then we will go to our, for verifying.

11
00:01:01,140 --> 00:01:02,850
We will go to the 10 system.

12
00:01:03,120 --> 00:01:05,360
Our 10 system will not be able to access.

13
00:01:05,790 --> 00:01:11,250
But what about 20, 20 will be able to access if we are going to have another system.

14
00:01:11,250 --> 00:01:12,810
We have other addresses.

15
00:01:12,930 --> 00:01:20,970
They will also be will be able to access only the system, which is having 172.24.0.10 that

16
00:01:20,970 --> 00:01:23,120
will not be able to access sometimes.

17
00:01:23,310 --> 00:01:30,870
Suppose we are getting attacked by some system, particular IP address so we can block that by using

18
00:01:30,870 --> 00:01:31,140
that.

19
00:01:31,140 --> 00:01:31,950
Bu using it.

20
00:01:32,430 --> 00:01:39,840
That means RequireAll the guaranteed will grant access to everybody and if it is Require all denied

21
00:01:39,840 --> 00:01:42,800
that access will be denied from every where.

22
00:01:43,230 --> 00:01:48,750
So this is the case third, just to show how this Require all granted works.
