Enhanced protection
Enhanced protection adds a web application firewall (WAF) in front of Admin, TagoRUN, and the API. Requests are checked before they reach your project. In block mode, the ones that match a rule are stopped and recorded. In monitor mode, they are recorded and let through.
The firewall inspects web and API requests, including device data sent over HTTPS. Traffic sent directly to an MQTT broker, a middleware, or a custom TCP or UDP service follows a separate path and is not inspected. Devices on MQTT are protected by TLS, authentication, and connection limits set on the broker.

What the firewall stops
These rules decide which requests are stopped. TagoDeploy manages the first five, so they work without any setup. The last two follow the lists you keep.
| Rule | What it stops |
|---|---|
| Known attackers | Addresses known for attacks and bots |
| Known exploits | Requests that target published software flaws |
| Common web attacks | Script injection, path tricks, and other common attack patterns |
| Server file access | Attempts to read system files on the server |
| Too many sign-in attempts | Repeated sign-in requests from one address in a short time |
| Blocked IPs | IP addresses and ranges on your blocked list |
| Countries | Countries you blocked, or every country outside the ones you allow |
The sign-in rule covers sign-in, sign-up, password reset, and confirmation email requests to the account API, Admin, and TagoRUN. A script that signs in through the API counts toward the same limit. The rule does not limit device data or other API requests.
Turn on Enhanced protection
Turning it on takes one deploy. If you are not sure how the rules will treat your devices and integrations, start in monitor mode and look at the results before anything is stopped.
- Open Security in the TagoIO & API section of the sidebar.
- In the Protection level card, open Change level and select Enhanced.
- In the Turn on Enhanced protection dialog, open Cost estimate to see the estimated monthly cost.
- Under Choose how it starts, pick Start in monitor mode or Block right away.
- Click Turn on Enhanced protection.
- Deploy the project. The firewall starts when the deploy finishes.
After the deploy, the Security page shows the protection level, the cost, and what the firewall blocked recently.

What it costs
The cost has two parts: a fixed monthly fee and a charge per million requests. The estimate in the dialog uses your recent web and API requests, and the real cost follows your traffic each month. Blocked requests are counted too. Monitor mode and block mode cost the same, and there is no charge until the deploy finishes.
After the firewall is running, the Security page shows the cost for the month so far and an estimate for the full month.
Monitor mode
A firewall can sometimes stop a valid request, for example from an integration that runs on an address with a bad record. Monitor mode lets you find those cases before anything is stopped.
Your blocked IPs and countries are not enforced either, for as long as you leave monitor mode on.
In monitor mode:
- The Security page shows since when monitor mode has run and how many requests would have been blocked.
- The Activity and reports page lists each request that would have been blocked, with its address, country, and rule.
Check the list for your own devices, gateways, and integrations. If one of them appears, fix its source address or contact support before you start blocking.
Monitor mode has no fixed length. Allow a full reporting cycle for devices and integrations. For a gateway that uploads weekly, confirm the next reading arrived in the project, then search Activity and reports for rule matches from the gateway's public IP address.
Blocking never starts on its own. When the list looks right, click Start blocking, confirm, and deploy.
What a blocked request gets
A blocked request gets HTTP status 403 with this body:
{ "status": false, "message": "Request blocked by firewall." }
A request over the sign-in limit gets HTTP status 429:
{ "status": false, "message": "Too many requests. Try again later." }
Both bodies use the TagoIO API error format, so SDKs and Admin show the message like any other API error.
Open Activity and reports and search for its public IP address. Check the matching rule and correct any unintended IP or country restriction. If a managed rule affects legitimate traffic, switch Mode to monitor and deploy while you investigate with support. This change pauses blocking across the project.
Firewall settings
Once Enhanced protection is on, the Firewall settings section is where you adjust it. You decide whether the firewall blocks or only monitors, which addresses and countries it turns away, and how long it keeps the history of what it matched. The managed rules need no settings.

Blocked IP changes apply right away. Changes to the mode, countries, and request history retention apply on the next deploy.
Mode
- Block mode: matching requests are stopped.
- Monitor mode: requests are counted, not stopped.
Going from block mode to monitor mode stops blocking after the next deploy, so TagoDeploy asks you to confirm before it saves.
Blocked IPs
Turn on Blocked IPs, then enter one IPv4 or IPv6 address or range per line, for example 192.0.2.0/24. Changes apply without a deploy.
On the Activity and reports page, the Block action next to an address adds it to this list.
If you add your own address, TagoDeploy warns you before saving. You can still edit the list from TagoDeploy after you lose access to the project.
Countries
Turn on Countries, pick one of two rules, and add the countries:
- Block these countries: requests from the listed countries are stopped.
- Allow only these countries: requests from every other country are stopped.
With Allow only these countries, a country that is not on the list is blocked, including the one you work from.
Request history retention
Choose how long the record of blocked requests is kept. Longer retention adds log storage cost, and a shorter period deletes older history on the next deploy.
The firewall redacts query strings and the values of the Authorization, Device-Token, and Token headers.
Request history includes rule matches in both monitor and block modes. Requests that match no rule do not appear in the history.
Go back to Basic protection
In the Protection level card, open Change level, select Basic, save, and deploy. Blocking and activity stop when the deploy finishes.
The Activity and reports page has no data on Basic protection. Export the PDF reports and CSV files you need before you deploy.