---
title: "applyRestrictedSandbox(revision:)"
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: "browserenginekit/restrictedsandboxappliable/applyrestrictedsandbox(revision:)"
---

# applyRestrictedSandbox(revision:)

Puts a browser extension into a more restricted sandbox.

## Declaration

```swift
func applyRestrictedSandbox(revision: RestrictedSandboxRevision)
```

## Parameters

- `revision`: The revision of the sandbox restriction rules to apply.

## Mentioned in

Limiting resource access in web content extensions

## See Also

### Applying sandbox restrictions

- [RestrictedSandboxRevision](browserenginekit/restrictedsandboxrevision.md)
