Use Fastly to deny access for an entire website
Learn how to restrict access to your Adobe Commerce Cloud site using Fastly Edge ACLs and custom VCL snippets. This step-by-step guide helps you secure your pre-launch environment by allowing only specific IP addresses, ensuring your development site stays private.
What you’ll learn
Restrict Adobe Commerce Site Access with Fastly Edge ACLs & Custom VCL | Secure Pre-Launch Environments
Who is this video for?
- DevOps Engineer
- Adobe Commerce Developer
- Site Reliability Engineer
Code Sample
This is an example of the VCL used
if ( !(client.ip ~ allowlist) && !req.http.Fastly-FF) { error 403 "Forbidden";}
Related Documentation
recommendation-more-help
commerce-learn-help-home