‹ Articles

How to Allow IP Addresses with a .htaccess File

If you wish to only allow specific addresses to access an app, you can add the following to your app's .htaccess file:

Require ip
Require ip

Be sure to replace and with the IP addresses you want to allow.

Apache also offers more information on configuring access control from your app's .htaccess file.

Still Have Questions?

Don't hesitate to contact us if you can't find the answers to your questions.