Quasa
Use QUASA App
Join the pioneer of Web3 crypto freelancing today!
Open
Work

How to Create, Edit and Share Claude Artifacts Without Exposing Sensitive Files

|Author: Viacheslav Vasipenok|8 min read
How to Create, Edit and Share Claude Artifacts Without Exposing Sensitive Files

To create, edit and share a Claude Artifact without exposing sensitive files, start in a conversation that contains only approved or synthetic data. Build a self-contained document or interactive tool, revise it in small steps, test the exact version you intend to distribute, and inspect its code and originating conversation before using Publish or Share.

The correct release path depends on your plan and audience: individual plans publish through a public link, while Team and Enterprise accounts share within the organization. Attachments, project access, external connections and persistent storage require separate checks, so treat the artifact and everything it can reveal or reach as one release package.

1. Prepare a clean workspace and data set

For Free, Pro and Max accounts, enable Code execution and file creation under Settings > Capabilities. A Team or Enterprise owner can manage this capability under Organization settings > Capabilities. If it is disabled in a managed workspace, ask the owner instead of moving protected information to a personal account.

Classify the inputs before entering them into Claude. Public information and invented records are suitable for a distributable prototype; credentials, customer records, private source code, personnel data and unpublished commercial information should remain outside the conversation unless their use and intended audience have been approved.

Use a separate release conversation whenever the working conversation contains restricted material. Removing a name or row from the visible artifact does not establish that the information is absent from earlier messages, attachments or generated code.

2. Create a bounded interactive artifact

Begin with a specific output and a narrow privacy boundary. In this walkthrough, the example is a browser-based project-priority board containing three fictional tasks. It uses no uploaded files, authentication, network requests, external services or persistent storage.

Enter a prompt such as: “Create an interactive Claude Artifact that displays three fictional project tasks. Let the user filter by status and change each task’s priority locally. Include a reset control, concise operating instructions and a clear empty state. Do not add analytics, network requests, persistent storage, external APIs or authentication. Use only the fictional records in this prompt.”

This request defines the content, behavior and prohibited capabilities together. The independent LSE guide to creating Claude Artifacts demonstrates direct artifact prompts and recommends testing the output, requesting focused revisions and checking different screen sizes. Its product-limitations section reflects the guide’s December 2025 publication, so current Claude documentation should govern present-day feature and sharing decisions.

When the artifact opens beside the conversation, operate every control before requesting visual refinements. Check the initial view, every filter, priority changes, reset behavior and the empty state. Correcting behavior first makes it easier to determine whether a later design revision caused a regression.

3. Revise while preserving a working version

Claude Artifacts version handling compares a working task board with a revision before selecting the release candidate.

Request one coherent set of changes at a time and state what must remain unchanged. For example: “Keep the current fictional records and behavior. Add an All status option, make the active filter clear, and ensure every control is keyboard accessible. Do not add storage, connections or new data.”

Anthropic’s Artifacts instructions document targeted editing for selected Markdown text, switching versions, branching by editing an earlier chat message, working with multiple artifacts, inspecting or copying code, downloading files and sending displayed errors back to Claude for diagnosis. The same page says MCP users authenticate independently and describes personal and shared persistent storage, including the fact that storage operations do not work during development.

For an interactive artifact, describe the visible component, the triggering action and the expected result. If the conversation contains several artifacts, name the one Claude should change. After each meaningful revision, select the earlier version and confirm that the known-good result is still available.

Keep a short release note outside the conversation, such as “fictional-data board, keyboard revision, approved.” Editing an earlier message creates a separate conversational branch, so a note helps prevent a visually similar artifact from being mistaken for the tested release candidate.

4. Test and export the release candidate

Test the candidate as an unfamiliar recipient would. Use both narrow and wide windows, try unexpected input where fields permit it, reset the state, and confirm that empty and error states explain the next action. A polished preview is not evidence that every interaction works.

If Claude offers to diagnose a displayed error, review the resulting change and rerun the affected path. An attempted repair may fix the immediate exception while altering unrelated behavior.

Inspect the underlying code before distribution. Search for names, email addresses, internal URLs, account identifiers, access tokens, copied source text and unexpected network destinations. Check whether records presented as examples were derived from a real attachment rather than invented for the release.

Copying or downloading an artifact creates a separate export; it does not publish the artifact. Once that file leaves Claude, its hosting, access controls, retention and deletion depend on the system where you place it. Send review copies only through channels approved for their contents.

5. Audit the originating conversation and files

Do not review only the rendered screen. Inventory the full conversation that produced the artifact, including earlier prompts, uploaded files, generated downloads and code that may reproduce source information.

If rebuilding in a clean conversation is practical, replace real records with synthetic examples or an approved aggregate and supply only the minimum material needed to reconstruct the artifact. Repeat the functional test after rebuilding; a sanitized input can change labels, field formats or edge cases.

If you must assess the existing conversation, check:

  • Every document, spreadsheet, image and archive attached to the conversation.
  • Text pasted into messages, including previous drafts and operational instructions.
  • Generated files or code containing copied data, identifiers or internal locations.
  • The intended audience and any project-membership requirement.
  • Every external connection and each personal or shared stored field.

Redaction must address identifying combinations, not just names. A unique email address, customer number or detailed event history can remain sensitive after a display name has been replaced. When authority to distribute the data is uncertain, keep the artifact private and obtain approval or create a synthetic-data edition.

6. Select the correct sharing boundary

A verified Claude Artifact is routed either to public link access or authenticated organization-only sharing.

Anthropic’s publishing and sharing instructions say that Free, Pro and Max publishing gives anyone with the link access, whereas Team and Enterprise sharing is limited to authenticated organization members; project-based artifacts also require project access. The page additionally warns that organizational viewers gain access to attachments and files in the originating conversation, and that unpublishing a public artifact prevents republishing that same artifact and permanently deletes its associated personal and shared storage.

On an individual plan, open the approved version, select Publish and copy the public link. Treat the URL as public even if it is sent to one recipient: it can be forwarded or retained elsewhere. If public access is unacceptable, do not publish simply because there is no recipient picker.

On Team or Enterprise, open the approved version, select Share, and use Share & copy link. Confirm that recipients belong to the intended organization and, when relevant, can access the originating project. Organization authentication reduces the audience but does not make every attached file suitable for every member.

Open the distributed link in a viewing context representative of the recipient. Confirm the selected version, available controls and access boundary. If a public artifact is embedded on another site, allow only the domains that need to display it.

7. Review authentication and storage as separate risks

An MCP-connected artifact may read from or write to an external service using the tools and permissions available to the viewer. Because each viewer authenticates independently, sharing the artifact does not transfer the creator’s login; it also does not guarantee that the viewer understands every action the artifact may request.

Apply least privilege. Connect only the required service, separate read operations from consequential writes, and explain the expected action before it occurs. Use a sandbox or non-sensitive account for validation where possible, and never embed a password, API key or session token in the prompt, artifact code or sample records.

Personal and shared storage solve different problems. Personal storage isolates one user’s values, while shared storage exposes stored values to other users of that artifact. Label inputs so users know which mode applies, avoid collecting unnecessary information, and use disposable values for the post-publication storage test.

Plan deletion before collecting durable data. If information must be retained for a legitimate purpose, export it through an approved process before unpublishing. Do not describe unpublishing as a reversible pause when the associated stored data will be permanently removed.

8. Complete the pre-publication check

Release only the artifact version that passes both functional and privacy review:

  1. Confirm that the artifact contains only necessary, approved information.
  2. Verify that the originating conversation has no attachments or pasted data inappropriate for the audience.
  3. Select and retest the exact version intended for distribution.
  4. Inspect code and exports for credentials, identifiers, internal URLs and copied source material.
  5. Choose deliberately between public publishing and organization-only sharing.
  6. Confirm organization and project access where applicable.
  7. Review every MCP connection, permission and write action.
  8. Classify every stored field as personal or shared.
  9. Test published storage with disposable data.
  10. Export required records before an action that permanently deletes storage.
  11. Open the final link in the recipient’s expected viewing context.

If any item remains uncertain, do not distribute the working artifact. Build the fictional project board in a clean conversation, take that release through the checklist, and reuse the process only after the real business material and audience have been approved.

Also read:

Share:

Subscribe to our newsletter

Get the latest Web3, AI, and crypto news delivered straight to your inbox.

0