API
The Gcore Customer Portal is being updated. Screenshots may not show the current version.
Web Application Security
Web Application Security
Chosen image
Home/Web Application Security/Set the Access Policy

Set the access policy for a protected resource

Go to the Web Protection tab > Settings > the Access policy tab to restrict or allow access to your resource.

Access policy tab

Country access policy

  • None — set by default, no restrictions.
  • Allow by default — access is provided for all but specified countries.
  • Block by default — access is denied for all but specified countries.

IP access policy

Add to the White List all IP addresses or subnets which should have access to your site: one IP address or subnet (with subnet masks from /24 to /30) per line (use the plus button to add more lines).

Add to the Black List all IP addresses or subnets which should have no access to your site: one IP address or subnet (with subnet masks from /24 to /30) per line (use the plus button to add more lines).

Was this article helpful?

Not a Gcore user yet?

Discover the all-in-one Web security solution by Gcore

Go to the product page
// // Initialize a variable to undefined initially. // var growthBook = undefined; // (function() { // try { // var script = document.createElement('script'); // script.src = "https://cdn.jsdelivr.net/npm/@growthbook/growthbook/dist/bundles/auto.min.js"; // script.setAttribute("data-api-host", "https://cdn.growthbook.io"); // script.setAttribute("data-client-key", "sdk-truekA5wvhMYaqsu"); // document.head.appendChild(script); // script.onload = function() { // console.log("GrowthBook script loaded successfully."); // growthBook = window.GrowthBook; // Assuming GrowthBook attaches itself to window // }; // script.onerror = function() { // console.error("Failed to load the GrowthBook script."); // growthBook = undefined; // Explicitly set to undefined on error // }; // } catch (error) { // console.error("An error occurred while setting up the GrowthBook script:", error); // growthBook = undefined; // } // })(); // // Optional: Push to dataLayer if needed // window.dataLayer = window.dataLayer || []; // window.dataLayer.push({ // 'event': 'scriptLoadStatus', // 'growthBookStatus': growthBook ? "Loaded" : "Failed" // });