Jump to content

Custom code to block IP address?

Recommended Posts

Posted

How can I block a specific IP address with Squarespace 7.0? I'm assuming it requires custom code. I'm only finding guides to ban IP addresses for Squarespace 5. The previous three websites I've used prior to Squarespace had the option (though I never needed it then). Now I am in a situation where I need to block an IP address and am running into trouble. I'm on the highest, most advanced plan for Squarespace so I have access to all options/settings.

Posted
1 hour ago, kds_on_ss said:

How can I block a specific IP address with Squarespace 7.0?

This was a built in feature on version 5, but it isn't available on later versions. To do this, you'd need to use a third party reverse proxy service that offers this feature, like Cloudflare.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

  • 7 months later...
Posted
On 12/5/2021 at 4:51 PM, kds_on_ss said:

How can I block a specific IP address with Squarespace 7.0? I'm assuming it requires custom code. I'm only finding guides to ban IP addresses for Squarespace 5. The previous three websites I've used prior to Squarespace had the option (though I never needed it then). Now I am in a situation where I need to block an IP address and am running into trouble. I'm on the highest, most advanced plan for Squarespace so I have access to all options/settings.

I have someone who is going to one of my ss sites and harassing me (not through a form) so I am also looking for the same functionality,  I think SS makes you buy their top plan to be able to add a line of code from a purchased third party web tool (which you have to buy). If there is another way I am anxiously waiting. 

  • 1 month later...
Posted

I’m hoping square space adds back this feature. I’m getting bombarded by the Amazon servers out of Ashburn, VA. It’s been happening for months and basically rendering my analytics features useless. 

489D2279-860E-44AD-9FB3-6A0FFF8895C9.png

  • 11 months later...
Posted

Has there been any update yet, or does someone has a specific custom code suggestions for blocking one specific IP address?
Thanks so much :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.