# What a page may do

A page on sharepa loads content from anywhere but only sends data to itself. That way, no fake login page on sharepa.page can harvest passwords.

Source: https://sharepa.ai/en/docs/limits

## Sending data

| Target | Allowed |
|---|---|
| `/__sharepa/formular` | Yes, see [forms](https://sharepa.ai/en/docs/forms) |
| `window.sharepaTermine` | Yes, see [bookings](https://sharepa.ai/en/docs/bookings) |
| Other paths of the page itself | Yes |
| External servers: Formspree, Mailchimp, your own API | No. The browser blocks forms and `fetch` to them. |

Technically, sharepa sets `form-action 'self'` and `connect-src 'self' data: blob:`. If a page still tries to send data elsewhere, the app names the server after publishing. The page goes live as usual otherwise. Single pages can get an exception on request.

## Loading content

Images, fonts, stylesheets and scripts from other servers load as usual. Embedded content such as YouTube or Google Maps works.

## Code

- **HTML:** a complete document.
- **React:** a component as the default export. It is built with Tailwind and these libraries: Recharts, Lucide, eight shadcn components (Badge, Button, Card, Input, Label, Separator, Tabs, Textarea), Lodash, D3, PapaParse, Math.js and date-fns. Other imports stop the build with a message.
- **Size:** up to 5 MB. Through the connector, pages with embedded images or over about 50,000 characters go through an upload link.
- `window.storage` and `window.claude` only exist in Claude. They are missing on sharepa, and the app warns about it.

## Forbidden fields

Fields for passwords, credit card or other payment data and health data are rejected, in forms as well as in bookings.

## Related guides

- [Build a form with your chat and collect entries](https://sharepa.ai/en/guides/build-a-form-with-your-chat#external-api)
- [Host a React artifact when the preview only runs in the chat](https://sharepa.ai/en/guides/host-react-artifact)
- [Data in the EU](https://sharepa.ai/en/features/eu-data)
