About

Security

Rough lets your customers build features inside your product. Here is how we keep that safe, in plain language. Engineers will want the technical version in the docs.

Features run apart from your app

Each Rough Feature runs in its own frame, served from a different web address to your app. The browser keeps the two apart, so a Feature cannot read your app’s cookies or stored data, or change the rest of your page.

A Feature can only talk to your app through the actions you choose to offer it. If you let it read a list of tasks, it can show those tasks. That does not also let it delete them.

Your app still decides who can do what

The code behind every action a Feature can take runs in your app, with your existing logins and your existing server. Rough passes each request along; your app decides whether to allow it.

So if someone is not allowed to delete a task in your app, they cannot delete it through a Feature either, as long as your server checks, as it already does for everything else.

No extra login

Your users never get a separate Rough account. Your server vouches for the person already signed in to your app with a short-lived pass, and Rough trusts the identity your server gives it. The private key that signs those passes stays on your server.

What Rough sees

To build Features that fit your app, Rough sees a description of each action you offer and some sample data. We ask you to use made-up samples, not real customer data. The code behind those actions stays in your app.

Once a Feature is running, it sees only what your app hands it. You choose those fields, so a customer list does not need to carry billing details along with it.

AI providers

We use third-party AI providers to build Features, so what someone asks the builder for, and the context it needs, may be sent to them. We do not let them train their models on your data, and we choose providers whose terms say the same.

Where Features keep their own data

By default, a Feature saves its state in the browser it runs in, kept per Feature rather than per person. So someone who signs in to a different account on the same browser can see what the last person left there. If that matters for your users, your developers can store it per user or per account instead.

Questions we have not answered?

Security assessments, compliance, data residency, or the current list of AI providers: ask us and we will talk through what you need. For how the pieces fit together, see How it works and our privacy policy.