We have directives of Require and Allow which can be used in httpd.conf.
Won't "Require ip address" work like "Allow from address ; Deny from all"?
As we can see in httpd.apache.org/docs/2.4/mod/mod_access_compat.html#allow. The Allow, Deny, and Order directives, provided by mod_access_compat, are deprecated and will go away in a future version. You should avoid using them, and avoid outdated tutorials recommending their use.
Why do we still need Allow?