Articles in this section

Can I enable HTTP access control for only a single URL?

No, not directly: HTTP Access control blocks all external access to an environment's website. You can selectively allow access by adding IP addresses or networks to the allow list, or by configuring one or more user accounts which will then be able to access the environment by authenticating with basic authentication credentials.

Alternative solutions

App-based access control

If you wish to have more fine-grained control which can allow specific URL paths, you can disable HTTP access control to pass all traffic to your upstream app, and then configure access control there. 

The method in which this is achieved will depend on which app you use, and will be up to you to control in your app's code.

Varnish

Another method of achieving this behavior is by setting up Varnish.

This will allow you to control the access logic in Varnish Configuration Language (VCL), stored in your project's Git repository.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.