Apache let’s you Allow/Deny access based on who is requesting access using the Order directive which is used in conjunction with the Allow and Deny directives.
Announcement
I have released my new course on Udemy, Kubernetes By Example. Sign up now to get free lifetime access!You can sepcify multiple Allow and Deny rules like this:
Deny from {ip address} Allow from {192.168.10.0/24} Deny from dodgydomain.com Order deny,allow