Grow with AppMaster Grow with AppMaster.
Become our partner arrow ico

IP Filter Module: IP Adress Filtering

IP Filter Module: IP Adress Filtering

The IP Filter module adds IP Filter middleware to your application. It does not require additional settings - you just need to install it.

IP Filter Middleware

Middleware IP Filter extends the endpoint settings in your application. With it, you can set access to endpoints only from specific IP addresses or prohibit it for certain IPs.

This will increase the security level of your application and be able to better control the processes occurring in it.

Configuring IP Access

In AppMaster.io Studio, go to the Endpoints tab and find the endpoint for which you want to configure access.

1. Click on the gear icon next to its name.

Endpoints List AppMaster.io

2. Go to the Middleware tab (1), find IP Filter in the list, and open its settings (2).

IP Filter Middleware Settings AppMaster.io

3. In the Mode field, select one of the options:

  • Allow all, except- access to the endpoint will be allowed from all IP addresses except the specified ones.
  • Forbidden all, except- access to the endpoint will be allowed only from the specified IP addresses.

Access Settings for middleware IP Filter AppMaster.io

4. In the IP list field, enter an address or a list of addresses separated by commas.

IP List (IP Filter AppMaster.io)

Thus, configure all the endpoints to which you want to restrict access.

Examples

Here are some examples of using IP Filter.

Example 1: Access only from specified IPs

Let's imagine that your application provides an API for communicating within a specific network. Most likely, in this case, you do not need authorization (so as not to complicate access to the API), but at the same time, you need to restrict the list of IP addresses (allow strictly defined services to access your application). Use the "Forbidden all, except" mode.

Example 2: Restricting Access from Specified IPs

Let's imagine that you need to restrict access to your application for attackers who send spam, try to guess passwords, or carry out DDoS attacks. Information about their IP addresses will be displayed in the logs. Add these IP addresses to the list of prohibited endpoints for enabled endpoints by setting the "Allow all, except" mode in the IP Filter settings. For example, if there are many unsuccessful authorization requests from a specific IP, most likely someone is trying to guess the password. Deny him authorization by setting access restrictions to the POST/auth endpoint (Auth group).

Learn more about what endpoints are and how to use them in our documentation. For more how-tos and helpful materials, visit the AppMaster.io blog.

Subscribe to the AppMaster.io telegram channel and join our community chat - here you can find out the latest platform news and communicate directly with our developers.

Related Posts

The Key to Unlocking Mobile App Monetization Strategies
The Key to Unlocking Mobile App Monetization Strategies
Discover how to unlock the full revenue potential of your mobile app with proven monetization strategies including advertising, in-app purchases, and subscriptions.
Key Considerations When Choosing an AI App Creator
Key Considerations When Choosing an AI App Creator
When choosing an AI app creator, it's essential to consider factors like integration capabilities, ease of use, and scalability. This article guides you through the key considerations to make an informed choice.
Tips for Effective Push Notifications in PWAs
Tips for Effective Push Notifications in PWAs
Discover the art of crafting effective push notifications for Progressive Web Apps (PWAs) that boost user engagement and ensure your messages stand out in a crowded digital space.
GET STARTED FREE
Inspired to try this yourself?

The best way to understand the power of AppMaster is to see it for yourself. Make your own application in minutes with free subscription

Bring Your Ideas to Life