When public Metabase links are acceptable and when they are not
A public Metabase link is acceptable only when the data it shows could be published on your website without harm. Teams often reach for public sharing when a dashboard needs to reach a partner, a regulator, a board member or a customer without an account. Public links and public iframes are created by Metabase admins only, and they expose a question or dashboard to anyone who holds the URL or loads the embed. Before creating one, ask who holds the link, how long it stays valid, and what would happen if it were forwarded, indexed or pasted into a public forum. If the honest answer involves customer records, internal financials, employee data or anything under a contractual confidentiality clause, public sharing is the wrong tool.
The exposure is wider than the chart on screen. A public link for a question can download results as CSV, XLSX or JSON, so the full result set leaves Metabase even if the visual shows only an aggregate. Filters on a public dashboard change what a viewer sees on screen but do not restrict the underlying data for someone who downloads or inspects the response. Treat every public question as if its entire result set were public. Confirm with your own team which saved questions sit behind each public link, because a dashboard can reference questions that were built for internal use with broader columns.
A practical test is to write down the exact data behind the link and check that it is already public or deliberately prepared for release, such as a published statistic with no row-level detail. Keep an inventory of every public link and iframe, review it on a fixed schedule, and remove links whose purpose has ended. The administrator setting MB_ENABLE_PUBLIC_SHARING controls whether admins can create public links and iframes at all, and it defaults to true, so confirm its value on each instance before you write any sharing policy. Where data must stay private, guest or authenticated embedding is the usual next read, covered in the sibling sections of this page.
Public links, public iframes, guest embeds and disabled sharing compared
This table compares the four sharing choices on a self-hosted Metabase instance by who can view, how access is controlled, whether results can be downloaded and where each fits. Read each row as a question to answer for your data before choosing. The main takeaway is that a public link is open to anyone with the URL, so it suits only data you would publish anyway.
| Option | Who can view | Access control and downloads | When it fits |
|---|---|---|---|
| Public link | Anyone with the URL, with no sign-in | Only admins can create it. Public links for questions can download results as CSV, XLSX or JSON. Filters do not limit what the link exposes. | Non-sensitive content you would publish, such as a public statistic |
| Public iframe | Anyone who can load the page embedding the iframe | Only admins can create it. Viewers get no Metabase login. Filters on the embedded content do not protect the underlying data. | Public-facing content on a site with no sensitive records behind it |
| Guest embed | Your application's users, through a server-signed token | Authentication works on all plans, including open source. Your server locks parameters per customer, so viewers cannot change them. | Customer-facing analytics where viewers should not need Metabase accounts |
| Authenticated access | Named Metabase users with accounts in your instance | Permissions, groups and collection access apply. SSO for embedding and row and column permissions require Pro or Enterprise. | Internal staff or customers who need individual accountability and fine-grained access |
| Public sharing turned off | No one outside Metabase permissions | Set MB_ENABLE_PUBLIC_SHARING to false so admins cannot create public links or iframes. The variable defaults to true, so confirm the setting after install. | Regulated or sensitive instances where any public exposure is unacceptable |
Why filters on a public dashboard do not protect data
A public dashboard shows a fixed set of questions, and the filter values the creator chose are part of what the link serves. The filter widgets a viewer sees change what is displayed on the page, but they do not decide which rows the underlying data contains or who is allowed to see them. Filters on a public dashboard are presentation controls, not access controls. Treat any data reachable through a public link as data available to anyone who has the link.
The card results behind a public dashboard remain retrievable in their own right. For public links on saved questions, Metabase lets the link holder download results as CSV, XLSX or JSON, so the full result set of a question is available, not only the slice a filter displays. Hiding a column in a visualization or limiting a dashboard filter does not remove that column or those rows from the export. Before publishing, have the owner of each underlying question review the complete output, not just the chart.
Per-user boundaries are a separate capability. The pricing material places row and column level permissions, along with multi-tenant data segregation, in the Pro and Enterprise plans, not in Open Source or Starter. A public link is not tied to a signed-in user, so there is no identity against which Metabase could apply such a boundary. Confirm the current plan details on the Metabase pricing page before you decide, and treat the open source edition as offering no per-viewer data boundary on public content.
How public CSV, XLSX and JSON downloads expose results
A public link for a question can return its full result set as CSV, XLSX or JSON, not only the rows a chart displays. The cards below cover the exposure paths that follow from that behavior and what to confirm in your own instance before any link is shared.
Full result set export
A public question link can download results as CSV, XLSX or JSON, so anyone holding the link can take the whole result set, including columns and rows the chart never shows. A dashboard that filters or aggregates data gives little protection, because the underlying question still returns its raw result. Check which questions are shared publicly, what columns they return, and whether any of them query sensitive tables.
Public sharing docsLink forwarding
A public link is a bearer credential: it works for anyone who receives it, with no sign-in, no group check and no record of who opened it. Links copied into chat, tickets or email spread beyond the people you intended. Ask who holds the link, how it was sent, and whether your team has a process to find and revoke links that were shared outside the approved audience.
Search engine indexing
A public link or iframe placed on a page that search engines or link preview bots can reach may be crawled and cached outside your control. Embedding a public dashboard on a marketing site or a help article can make its contents discoverable. Confirm where each public embed appears, whether those pages are indexed, and whether the data behind them is meant to be read by anyone on the internet.
Cached results
Metabase can cache query results, so an export or embed may return data that was valid when it was cached rather than data from the live source. Cache behavior affects what a public viewer sees after a source changes or a permission is tightened. Ask your team which caching settings apply to the shared questions and how quickly stale results would be replaced after a data correction.
Links surviving staff changes
Public links stay active after the person who created them leaves, changes role or moves teams. Only admins can create them, but the record of who created a link does not restrict who can use it. Before offboarding an admin, list the public links and iframes they created, decide which ones still serve a purpose, and disable the rest.
Gaps in access logging
Public access does not map to a named Metabase user, so per-user audit trails cannot show who downloaded an export through a public link. Your logging depends on what the web tier, reverse proxy and warehouse record for those requests. Confirm which of those logs exist, how long they are kept, and whether they can tie an export to a specific question and time window for an access review.
Turning public sharing off on a self-hosted Metabase
This sequence inventories every public link and iframe, disables public sharing at the instance level, and confirms that existing public URLs no longer serve content. It is safest to run it first on a test instance, because the setting defaults to on and changing it affects every workspace on the instance.
Inventory existing public links and iframes
An admin reviews the instance before changing anything. Public links and iframes are created per question, dashboard or document, so record which items have a public link or embed code enabled, who created them, and which external sites or documents rely on them. Ask the content owners to confirm whether each one is still needed. The output is a list you can check off after the change, and a named contact for any link a team depends on.
Rehearse the change on a test instance
Before changing production, copy the configuration to a test instance running the same Metabase version and confirm the behavior there. Create a public link and an iframe on a sample dashboard, set the variable, restart, and check what happens. Note any unexpected effects on your deployment method, such as how your container or service manager passes environment variables. The output is a short written result you can reuse for the production change window.
Record the current setting and back up
Confirm how the instance currently reads
MB_ENABLE_PUBLIC_SHARING. The variable defaults to true, so many instances have never set it explicitly, and an absent value means public sharing is on. Note where the variable is defined (environment file, Compose file, Helm values, or systemd unit) and take a backup of the application database, following the backup guidance in the Metabase documentation. The output is a rollback point and a record of the starting state.Set the variable to false
Set
MB_ENABLE_PUBLIC_SHARINGtofalsein the same place the instance reads its configuration, so the value survives redeployments. Do not rely on a one-off shell export, because a later container recreation or pipeline run can silently restore the default. Ask the person who manages deployments to confirm the value in the source of truth, not only on the running host. The output is a reviewed configuration change recorded in your change system.Restart the instance
Restart Metabase so the new value takes effect, then confirm the process started cleanly and the application is reachable. Check the startup logs for errors caused by the configuration change. If you run more than one node, restart each one and confirm they all report the same setting. The output is a healthy instance on the new configuration.
Verify the sharing options are gone
Sign in as an admin and open a question, a dashboard and a document. Confirm that the public link and embed options are no longer offered in the sharing menus. Then check the admin settings for any remaining public sharing controls. This test should be repeated by someone other than the person who made the change. The output is a signed-off checklist showing each item type was tested.
Confirm existing public URLs stop serving content
Open each public link and iframe from the inventory in a private browser session, with no Metabase login. Each should fail to return the content it previously showed. Record the result per item. If a link still serves data, treat that as a finding, check that the instance restarted with the new value, and escalate before closing the change. The output is a result per inventoried item, plus a note to the owners of any link that no longer works.
Tell owners and keep the setting documented
Notify the content owners and any external partners whose embeds or links stopped working, and point them to a supported way to share the data if they still need it. Record the final setting, the date of the change, and the verification results in your configuration records, so a future upgrade or redeployment does not reset it without review. The output is a closed change record and a documented setting that auditors or colleagues can find.
Why public links break with database routing
Public links do not work with database routing, so a team that uses database routing to separate data by database cannot rely on public links for any database that sits behind routing. Database routing is the Metabase feature that sends a group's queries to a different target database, which is a common way to isolate tenants or business units onto separate data stores. Public links, by contrast, are unauthenticated URLs that render a question or dashboard for anyone who holds them, so there is no signed-in user whose routing rule can be applied. The result is that the two features cannot be combined for the same content, and the reader should treat that as a design constraint before any dashboard is shared.
The practical consequence is a choice about where isolated data lives and how it is shared. If a team has routed a group's queries to a separate database, it should not plan to publish a public link to a question that reads from that data, and it should not assume that a public link will inherit the routing behaviour of the person who created it. For data that must reach external readers, the realistic alternative is to build a separate, non-routed copy or view that holds only the approved fields, and to share that copy. For internal readers, keep sharing inside authenticated Metabase so routing and group permissions still apply. Document which databases are routed and which are shareable, so that an admin does not create a public link on the wrong question.
Confirm this behaviour before you rely on it. Read the database routing and public sharing pages for the exact Metabase version you run, because the limit is stated in the current docs and may change between releases. Then test it on a non-production instance: create a routed database, create a public link to a question that reads from it, and check what the link returns from a private browser session. Record the result, the version and the date in your design notes, and repeat the test after each upgrade, since an upgrade is the most likely point at which a documented limit changes.
Controls to put around public sharing
Public sharing is a setting, not a safeguard on its own. The controls below work together: they decide who can create links, what content can be shared, how existing links are reviewed, and how access is recorded. Each one is worth setting up before the first public link is created.
Restrict who can create links
In Metabase, only admins can create public links and iframes, so the admin role becomes the control point. Keep the number of admin accounts small, and use separate named accounts for administration rather than shared logins. Review admin membership on a schedule and remove accounts that no longer need the role. Confirm your current admin list before you enable sharing on a production instance.
Public sharing docsLimit content to publicly releasable collections
A public link exposes the saved question or dashboard it points to, and the data that question returns. Place only content that is approved for anyone with the link into a dedicated collection, and keep customer, personal or internal financial data out of it. Use Metabase's permissions to confirm which groups can see the source data. Filters on a public dashboard do not restrict what the link reveals, so the content itself must be safe to publish.
Review existing public links on a schedule
Links stay live until someone removes them, and the person who created one may have left the organization. Set a recurring review, export or list the public links your admins can see, and confirm each one still has an owner, a purpose and approved content. Remove links for dashboards that were retired or that now contain data they did not contain at creation. Record the review date and outcome.
Monitor access and downloads
Public links for questions can download results as CSV, XLSX or JSON, so a link can move a dataset out of Metabase without a login. Use Metabase's logs and your reverse proxy or web server logs to track requests to public URLs and unusual volumes of access. Confirm which events your deployment records and where they are stored, and set alerts that reach the team that owns the data.
Add reverse proxy rules for embeds
Public embeds are loaded in other websites, so the instance is reachable from those pages. Put rules at the reverse proxy to limit which paths are exposed publicly, and block routes for administration and the API from the internet. Keep the public path surface as small as your use case allows. Test the rules after each Metabase upgrade, since route changes can open paths you did not intend to expose.
Document an approval step
Decide in writing who approves a new public link, what content qualifies, and who may turn public sharing on or off for the instance. The approval record should name the owner, the source content, the expected audience and the review date. Setting MB_ENABLE_PUBLIC_SHARING to false disables link and iframe creation for the whole instance, which is useful if the approval process is not yet in place. Confirm the variable's behavior in your Metabase version before relying on it.
Environment variables docsQuestions buyers ask about public Metabase links and embeds
Do I need an outside consultant to turn off public sharing in Metabase?
No. Turning public sharing off is a configuration change, and an admin with access to the instance's environment can make it. The setting is MB_ENABLE_PUBLIC_SHARING, which defaults to true, so an instance that has never changed it still allows admins to create public links and iframes. What a consultant adds is not the switch itself but the surrounding work: finding links that already exist, confirming which dashboards and questions were shared outside the company, and checking that internal teams have a replacement for the sharing they relied on. Ask whether the team has the time and access to do that review internally before deciding who should do it.
How much effort does an audit of existing public links take, and what drives it?
The effort depends mainly on how many public links and iframes exist, how many collections they sit in, and whether anyone recorded who created them and why. A small instance with a handful of shared dashboards is a short review. A long-running instance where many admins have shared questions over several years takes longer, because each link has to be traced to a business owner and a data source. Other drivers include whether the shared content queries sensitive tables, whether any link is embedded in a public website or partner portal, and how much of the work involves contacting those owners. Ask any provider for the audit steps and the expected number of items before agreeing to a scope.
What does the work need from our team?
It needs an admin who can read the instance configuration and the list of shared content, and a named business owner for each dashboard or question that is still in use. Security or compliance staff should decide which data may be publicly reachable at all, because that is a policy decision rather than a technical one. Engineers need access to the environment variables of the running instance and to the place where the instance is deployed, so they can change the setting and confirm the change took effect. Plan time for owners to answer questions, since that step is usually the slowest part of the review.
Can we turn off public sharing and review links ourselves?
Often yes, if the team has an admin who knows the instance and the time to work through the list of links. The configuration change is small and documented in the environment variables reference. The harder part is the review, which needs judgment about what data each link exposes and who depends on it. Teams that do this in-house usually benefit from a written checklist covering inventory, owner sign-off, replacement for internal use and a final check that the public URLs no longer resolve. Whether to bring in outside help depends on your staff capacity and on how sensitive the shared data is.
How do we verify that public sharing is actually off?
Verification has three parts. First, confirm that the running instance has MB_ENABLE_PUBLIC_SHARING set to false, not only the configuration file you edited, because a restart or a different container may still carry the old value. Second, check that the previously shared public URLs and iframe codes now fail to show data, and test from outside your network rather than from a logged-in browser. Third, confirm that the setting still holds after upgrades and redeployments, by adding it to your deployment checks. The time this takes depends on how many links were inventoried and how many deployment copies of the instance exist, so ask how many environments need the same check.
Are guest embeds a safer alternative to public links?
Guest embeds are a different mechanism rather than a simple replacement. A guest embed is signed server side and can restrict what a viewer sees, which is usually a better fit for customer-facing content than an open public link. Public links, by contrast, have no per-viewer restriction. Guest authentication is available on all plans, including open source, according to the embedding documentation. However, a signed embed still needs careful parameter locking and token handling, and it is not automatically safe for every dataset. Treat it as a candidate to evaluate against your data classification, not a default.
What information should we gather before asking for a quote?
Gather the Metabase version and deployment method, the number of public links and iframes in use, the collections and data sources they touch, and the names of the business owners who need to confirm each one. Also note whether public embeds are placed on external websites, whether any customer-facing product depends on them, and what your security team requires as evidence. A written scope should list what is reviewed, what changes are made, who signs off and how verification is recorded. Ask for the deliverables, the review steps and the assumptions behind any effort estimate, so that quotes from different providers can be compared on the same basis.
Limits to confirm in your environment
Public sharing settings, plan entitlements and routing behavior vary by version and deployment, so the points below should be confirmed on your own instance before you decide what to publish. Each card names one item to verify and the evidence that settles it.
Setting behavior in your version
Confirm how MB_ENABLE_PUBLIC_SHARING behaves on the exact Metabase version you run, including whether an existing instance keeps links created earlier when the setting changes. The variable defaults to true, so an instance that was never reviewed may still allow public links and iframes. Test the change in a non-production copy and confirm that new and existing links respond as you expect.
Plan for row and column permissions
Row and column level permissions, along with multi-tenant data segregation, are included only in the Pro and Enterprise plans according to Metabase's pricing page. If your team runs Open Source or Starter, you cannot use those controls to limit what a public viewer sees. Confirm the plan in writing with Metabase before you design sharing around permission boundaries.
Metabase pricingEmbedded content that depends on links
Inventory every public link and iframe, then check which ones feed customer pages, partner portals or other applications. A public link can be the only working path for an embed, so disabling sharing may break content your product depends on. Record the owner and the consumer of each link before you change the setting.
Database routing and sharing
Public links do not work with database routing, so a dashboard that depends on routing will not be shareable in the way you expect. Confirm which databases in your instance use routing and whether any public link points to a question or dashboard that touches them. Decide the expected result for each case and test it, because a broken link can look like a permissions problem.
Database routing docsLogging of public access
Check whether your logs and Metabase's auditing features record views and CSV, XLSX or JSON downloads made through public links, since anonymous access may not map to a user account. Usage analytics and auditing are part of the Pro and Enterprise plans, so Open Source and Starter may need logs from your reverse proxy or network layer. Confirm what each layer captures and how long it is kept.
Historical link creation
Find out who created each existing public link and iframe, when, and for which question or dashboard. Only admins can create them, but many links may date from earlier staff or from a period when the setting was open. Export the list, compare it with current business need, and revoke links that no longer have an owner or a purpose.
How DeployOpen would approach a public sharing review
This illustrative sequence shows how a review moves from finding every public link and iframe to deciding what stays, what gets replaced and what is removed, then proving the result from a clean browser session. Scope is agreed in writing before any work starts.
Agree scope and access in writing
Before any work starts, the review scope, the Metabase instance and environments, the admin account used for the review and the reporting format are agreed in a written statement of work. The client's security owner confirms who may approve changes to shared content. The step closes when the scope document is signed off and read-only admin access to the instance is confirmed.
Inventory public links and iframes
The reviewer lists every public link and public iframe for questions, dashboards and documents, since only admins can create them. For each item, the list records the object, its collection, who created it, when it was created and where the embed code is used. The step closes when the inventory matches what the admin interface reports and the client confirms no sharing sits outside the list.
Classify the data behind each item
Each shared object is traced to its source database, tables, columns and any filters that expose rows. The reviewer marks whether the data is public, internal, personal or regulated, and notes whether a CSV, XLSX or JSON download from a public question would expose more than the dashboard shows. The step closes with a classification column on the inventory that the data owner has reviewed.
Decide keep, replace or remove per item
For each item, the client and DeployOpen choose one outcome: keep it because the data is genuinely public, replace it with an authenticated embed or a shared collection for signed-in users, or remove it. Filters on a public dashboard are not treated as access control during this decision. The step closes with a decision record for every item, approved by the data owner.
Apply the instance setting where appropriate
If the decision record shows no public sharing is needed, the reviewer sets MB_ENABLE_PUBLIC_SHARING to disable admins from creating new public links and iframes. The setting defaults to true, so the change must be made deliberately and recorded in the deployment configuration. The step closes when the instance restarts with the agreed value and a test attempt to create a new public link is blocked or confirmed as allowed.
Remove or replace existing public items
The approved removals and replacements are carried out by the client's admins or by DeployOpen under the agreed scope, with the change logged item by item. Replacements are checked against the data classification before go-live. The step closes when the inventory shows each item in its approved state and the change log matches the decision record.
Retest from a fresh browser session
Each remaining public link and iframe is opened from a new private browser session with no Metabase login, and downloads are attempted for public questions. The reviewer confirms that removed items return no content and that kept items show only the data classified as public. The step closes with a findings report listing any gap, its fix and a retest result.
How DeployOpen scopes and supports Metabase sharing controls
DeployOpen is a Chainscore Labs company that plans, deploys, hardens and supports self-hosted open-source platforms, including Metabase, inside your own cloud accounts, data centers or air-gapped networks, and it runs security testing against those deployments. For public links and public embeds, that means the work can cover more than switching sharing off. It can include an inventory of every public link, iframe and downloadable export on the instance, a review of who holds admin rights to create them, the MB_ENABLE_PUBLIC_SHARING setting and how it is applied across your environments, and a test that confirms a public URL returns nothing it should not. Each of these items is scoped to your instance rather than offered as a generic checklist.
Engagements are fixed-scope. Before work starts, the scope, deliverables and timelines are agreed in writing, and a quote follows from that written scope. Ask for the quote to list which items are one-time (the inventory, the configuration change, the verification test and the written findings) and which recur (periodic review, retesting after upgrades and new dashboards). The variables that move the price are the number of Metabase instances, how many questions, dashboards and embeds exist, whether public sharing is already in use by teams you need to consult, and whether your database routing or embedding design needs to be reviewed alongside sharing. Confirm with DeployOpen which of these your environment includes before you sign.
For ongoing oversight, retainers are available for periodic review of sharing settings, retesting after Metabase upgrades and checks on new public content. DeployOpen does not issue audit reports, attestations or certifications. Where your assessor asks for evidence that public sharing is controlled, DeployOpen can prepare the configuration records, test results and remediation log, and your independent auditor or certification body makes the determination. DeployOpen is not a Metabase partner or reseller, and any statement about vendor support status should be confirmed directly with Metabase.

