Web app data-leak controls: clipboard, download and upload in a remote browser
You have a web app with data you do not want on a contractor's laptop or a BYOD phone: a ticketing system, a billing portal, a records viewer. The usual answers are a cloud secure web gateway or an endpoint DLP agent. A third route is to run the app's browser on your own server and decide, in one file, which transfers the session may do.
Try these controls on an evaluation host.
What "leakage" means here
A web session leaks data through a small set of paths. Each one is a place a control can sit:
| Path | What happens | Typical leak |
|---|---|---|
| Copy | Text goes to the user's clipboard | Pasted into personal chat or mail |
| Paste | Local text goes into the page | Credentials or scripts injected |
| Download | File saved to the endpoint | Export kept after the contractor leaves |
| Upload | Local file goes to the app | Malware or data moved in |
| Page printed or saved as PDF | Bypasses the download rule | |
| Screen | Screenshot, phone camera, recording | Nothing in software stops it |
A cloud DLP product inspects some of these on traffic to the app. A remote browser changes the setup: the page never runs on the user's device at all, so there is no local clipboard, download folder or print queue connected to it unless the policy allows one.
How a self-hosted remote browser fits
BrowserBox runs a full Chromium on a machine you operate and streams the rendered session to the user's ordinary browser. The user's device receives pixels and input events. The app's cookies, cache and files stay on your host. Transfers cross that boundary only when policy lets them.
The session does not need a third-party gateway: the app, the browser and the policy sit where you put them. The host does check its license with DOSAYGO every 331 seconds over TCP 443, so it needs that outbound path.
The controls, from the documentation
These come from the policy chapter of the manual (v21.0.3). Each feature control is a plain allow or deny.
| Setting | Value for a locked session | Effect and limit |
|---|---|---|
featureControls.copy |
deny |
Blocks keyboard shortcuts and the context-menu copy path |
featureControls.paste |
deny |
Blocks keyboard and API paste, including inserting text into the remote browser |
featureControls.downloads |
deny |
Cancels the download in the browser before any data is written to the server's download directory; the user sees a policy-denied notice |
featureControls.uploads |
deny |
Blocks upload routes and file inputs |
featureControls.devtools |
deny |
Blocks the DevTools service, so no console exfiltration of page data |
featureControls.contextMenu |
deny |
Stops the remote page's context menu opening |
featureControls.automation |
deny |
Blocks the webview API's automation methods such as selector waits, clicks, typing and evaluation |
featureControls.browserChrome |
always-hide |
Keeps the tab and address bars hidden |
navigation.mode |
allowlist |
Refuses every page load outside the listed entries |
Printing: the security overview lists printing among the actions that policy allows or denies. The policy chapter we read documents no separate print field in its field table. Confirm print behaviour on your release with a test before you rely on it, and write down what you saw.
The allowlist needs care. Every page load is checked, including links, redirects and new windows. If the app signs in through another host, that host needs its own entry. A path without a scheme allows the whole site, so use exact URLs with a scheme where you mean a single page, and test.
Set it and prove it
sudo bbx policy init --scope global --baseline regulated
sudo cp /etc/browserbox/policy.json app.json
# edit app.json: set the values above and navigation.allowlist
sudo bbx policy validate --file app.json
sudo bbx policy set --scope global --file app.json
bbx policy check --action downloads
bbx policy check --action navigate --url https://app.example.com/
bbx policy check --action navigate --url https://example.org/
bbx policy trace --last 20bbx policy check exits 0 for allow and 2 for deny. The first navigate check should allow and the second deny. When policy blocks something, BrowserBox shows a notification to the connected user, writes [policy-decision] lines to the server log and appends to a trace file, so you can reconstruct what happened.
Rules that surprise people
- Controls are per instance, not per site.
featureControlsapply to the whole instance. The manual says different settings per allowlist entry are not supported. If staff may copy order numbers in one app but not another, run separate instances with separate policies. - A global policy applies to every user on the host. It is read for every Unix user and every Fleet seat. A per-user policy can tighten it but never loosen it, and an embedder cannot override a deny into an allow. Give a locked-down app a host of its own.
- The session link is a bearer secret. Anyone holding the login link joins the same browser. Put your identity checks and sign-in in front, and give each concurrent user their own runtime or Fleet allocation.
- Do not record sensitive sessions. Flipbook recording saves frames of the screen, and in v21.0.3
bbx stopattempts to publish the recording throughwranglerwhere it is signed in.
What this does not cover
State this plainly to whoever signs off:
- Screens. Software denial of copy and download does not stop a photo of the monitor, a screen recording on the user's own device, or someone reading data out loud.
- Endpoint DLP. It does not inspect or manage the user's device, other applications or removable media.
- SaaS API DLP. It does not scan content inside a SaaS tenant or classify files at rest. Use your SaaS provider's tools for that.
- Content inspection. The controls are allow and deny on action types. BrowserBox does not read page content and decide that a field contains a card number.
- No compliance claim. We make no certification claim, and a policy file is not an assessment.
When not to choose it
Skip a remote browser if you need to detect or classify sensitive data in files and messages (that is content DLP), if users need native desktop software rather than web apps, or if different users of one app need different transfer rules and you cannot run an instance for each. If nobody on your team can patch and monitor a host, hosted services will carry less operational weight.
Trying it before you buy
The commercial license is US$119 per seat per year with no seat minimum. You can test the table above without paying that first: the instant evaluation is US$5 for 14 days and two concurrent sessions on a work email domain (checks apply, and it includes a single-use US$5 credit toward a commercial license). Organizations can instead request the free 14-day evaluation, which is reviewed first, or pay US$20 per seat for 7 days, refunded when a commercial license payment succeeds. Pricing has the details. Evaluation uses the same license rules as production.
Next step: evaluate on your own host. Point it at one real app, set the table above, and run the bbx policy check lines before you invite anyone.