Smartstore

Plug-in: Geoblocker - Keep control of your data traffic and prevent unwanted access


With the Smartstore Geo-Blocker plugin, you can determine who can and cannot access your store. You have the option of restricting access by country, IP address blocks or individual IP addresses.

One use case is the prevention of traffic caused by hackers and bots. Many store administrators then resort to blocking countries in Smartstore by IP to protect their site and their visitors from harm. In this blog post, we will introduce you to the different ways you can implement geo-blocking on your Smartstore store.

What does geoblocking in Smartstore mean?

To begin with, let's find out a little about what geoblocking in Smartstore is exactly. If you've heard the term before, it essentially means that you can block visitors - or traffic - from a specific country from accessing your store.

Blocking by country is based on IP addresses, which are individual identifiers for devices. Countries often have ranges of IP addresses. If you want to block China, for example, you need this range of IP addresses.

Store operators and administrators often see geoblocking as a solution to a bot problem. However, each admin identifies the source of bot traffic depending on their own offering. There are different opinions, but you will find some recurring ones like Russia and China on everyone's list.

How do I find out which countries or IP address blocks should be blocked in Smartstore?

If the spammer has registered as a customer, the IP address of their last login will be stored in their customer account. When it comes to general calls, the web server log files are a good source. Even if you only want to or are only allowed to operate in certain countries, the Smartstore Geoblocker will serve you well.

Also use Google Analytics

In your Google Analytics dashboard, navigate to Sessions by Country > Location Overview to see details about your users. Here you can see a visual representation of your global traffic.

Analytics Dashboard

Google Analytics only shows where the traffic is coming from, but not the type of traffic you are receiving. Based on the content of your offer and your target group profile, you can determine whether traffic from a country is harming your store.

How do I block country IP addresses from accessing my store?

There are two ways to implement geo-blocking for your store: manually or with the Smartstore GeoBlocker plugin. The manual method is tedious and time-consuming. We strongly recommend that you use the plugin method to block country IP addresses for your Smartstore store.

The Smartstore GeoBlocker plugin allows you to block country IP addresses directly from your Smartstore dashboard with just a few clicks. The big advantage at this point is that you can access the other diagnostic tools such as login and traffic logs to determine which countries need to be blocked.

If a connection is denied, the visitor is redirected to 404 (page not found). IP addresses are weighted higher by the system than countries. This means that a permitted IP from a blocked country can establish a connection, but a blocked IP from a permitted country cannot.

What other functions does the Smartstore GeoBlocker plugin offer you?

  • Decide between opt-in or opt-out as a procedure
  • Trust already registered users without further verification
  • Select restricted/allowed countries from the drop-down list
  • Define IPv4 address ranges with wildcard placeholders
  • Use '*' for any number '?' for a number or number ranges (1-255) to define IPv4 blocks

Attention: The Geo-blocking Regulation came into force in the European Union (EU) on December 3, 2018. Read a blog post from trustedshops.de on the topic of geo-blocking.

In the Trustedshops blog, the experts from Trusted Shops GmbH inform you about current topics relating to e-commerce, e-commerce law and online marketing. Trusted Shops GmbH is a partner of Smartstore AG.

The advantages of ASP.NET

Reliability and stability - In today's dynamic world, prolonged system downtime is a major problem for any website or business, whether it's a matter of hours or minutes. A reliable and stable framework should therefore have a wide range of features that can keep web applications running smoothly.

ASP.NET offers built-in protection against attacks and malfunctions with:

  • SQL injection
  • XSS
  • Buffer overflow
  • Modifying hidden fields

Speed and performance - The structure of the framework makes it easier to compile the program code on all pages of the website. ASP.NET also integrates the functions of the website into the server cluster, which simplifies scalability and brings more visitors to the website.

System integration - The .NET platform has numerous integrated technologies that facilitate the integration of applications and information systems (technologies such as JSON, remoting, XML, WCF and so on). With such a wealth of different technologies and methods, each individual case can be solved with the most suitable technology. ASP.NET offers high performance, security and scalability thanks to these extensive options.

ASP.NET MVC framework - does not use view states and server forms, making it easy to achieve complete control over the behavior of an application. It also manages complex structures by dividing the application into segments: Model, View and Controller (hence MVC).

According to recent surveys, ASP.NET + MVC.NET + AJAX.NET account for 40 percent of the current market, meaning that Microsoft technology dominates the web development scene.

The rich and comprehensive .NET ecosystem provides the support and ability to create everything from simple websites to fast and powerful applications for large enterprise systems.