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
Print 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 20

bbx 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

What this does not cover

State this plainly to whoever signs off:

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.

Related guides