Support Forums

Putting Netlify domain behind company VPN

Is it possible to restrict a Netlify domain (abc-123.netlify.app) behind a specific IP address? My company is using a VPN and I’d like to restrict the entire site to only our shared IP address.

An alternative would be an authentication session but I’d prefer to just have the entire site blocked unless you’re on the right IP instead of making people logged in. This would act kind of like a read-only wiki site for our company.

You could try your luck with Netlify Functions, but if that doesn’t work for you, I think the better way to go forward is to use Global site password.

Thank you very much. I’m exploring both options now.

Are there any future plans to allow for something like this:
(this is apache code)

Order Deny,Allow
Deny from all
Allow from xxx.xxx.xxx.xxx

Looks like its related to this question posted in 2019. Is this something that could be considered for a future implementation?

Hey @zvsuperdev,

While I cannot make promises regarding the product team deciding to make this feature available or not, we can add this as a feature request and update if/when it’s available.