Apache – Controlling access using the Order, Deny, and Allow directives on CentoS/RHEL 7

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.

You can sepcify multiple Allow and Deny rules like this:

Deny from {ip address}
Allow from {}
Deny from

Order deny,allow