How to Integrate Metabase and Teradata Safely
You link metabase and teradata so your team can build charts from warehouse data. The reporting app sends SQL queries to the warehouse and shows the results. This setup lets analysts explore large tables without writing code by hand. Still, linking a chart tool to a core data warehouse creates security risks. You must lock down keys, roles, and network paths before users run queries. How metabase and teradata share data and permissions The reporting app talks to the data warehouse through a
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
You link metabase and teradata so your team can build charts from warehouse data. The reporting app sends SQL queries to the warehouse and shows the results.
This setup lets analysts explore large tables without writing code by hand. Still, linking a chart tool to a core data warehouse creates security risks. You must lock down keys, roles, and network paths before users run queries.
How metabase and teradata share data and permissions
The reporting app talks to the data warehouse through a standard database driver. When a user opens a dashboard, the app builds a SQL query. It sends that query over the network to the warehouse.
The warehouse runs the query and sends the rows back to the app. To make this work, you give the chart app a database login. In most setups, the app uses one shared service account for all users.
The warehouse checks the permissions of that single account before it returns data. It does not know which person clicked the dashboard inside the reporting tool. Because of this, database permissions and app permissions must work together.
You also need encrypted network traffic between the two systems. Plain text traffic exposes passwords and query results to anyone on the network. Always turn on transport encryption so data stays safe while in transit.
Common risks with shared accounts and broad roles
Many teams use a strong database admin account to set up the link fast. That choice creates a major risk for your company data. If a user gets SQL editor rights in the app, they gain full warehouse control.
They could read private tables or drop production data by mistake. Shared accounts also break your audit logs inside the data warehouse. Every query in the warehouse log shows the exact same service account name.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
When a slow or risky query runs, you cannot see who started it. Another common failure is exposing raw personal data to every chart builder. Tables often hold emails, phone numbers, card numbers, or national IDs.
If the service account can read those columns, every analyst can query them. Data masking solves this by rewriting matched fields in query results. You should also avoid wide open network rules between your cloud networks.
How to scope roles and network paths
Start by creating a dedicated database user just for the reporting app. Give this user read-only rights on the specific views needed for charts. Never grant write, delete, or admin rights to a reporting service account.
Build clean reporting views in the warehouse that leave out sensitive columns. Grant the reporting role access to those views instead of the raw tables. This step keeps emails, phone numbers, and card numbers out of general dashboards.
If different teams need different data, set up separate database links for each group. Give finance a finance role and marketing a marketing role in the warehouse. Next, lock down the network path between the app and the database.
Put the reporting app in a private subnet with strict firewall rules. Only allow traffic from the app server IP address to reach the database port. Finally, set resource limits on the database role so bad queries do not freeze the warehouse.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
Should I give the reporting app a read-only database role?
Yes, always use a strict read-only role for your reporting tool. Chart tools only need to read data, so never give them write permissions.
How do I stop analysts from querying raw sensitive columns?
Create restricted views in the warehouse or use data masking on sensitive fields. Masking rewrites emails, card numbers, and phone numbers in the query results.
How can I track which user ran a specific query?
Check the query logs inside the reporting app to see user activity. You can also place an access layer in front of the database to log user identities.
Related guides
In this post