---
title: AVAssetReferenceRestrictions
framework: avfoundation
role: symbol
role_heading: Structure
path: avfoundation/avassetreferencerestrictions
---

# AVAssetReferenceRestrictions

Restrictions to use when resolving references to external media data.

## Declaration

```swift
struct AVAssetReferenceRestrictions
```

## Topics

### Reference restrictions

- [forbidAll](avfoundation/avassetreferencerestrictions/forbidall.md)
- [forbidRemoteReferenceToLocal](avfoundation/avassetreferencerestrictions/forbidremotereferencetolocal.md)
- [forbidLocalReferenceToRemote](avfoundation/avassetreferencerestrictions/forbidlocalreferencetoremote.md)
- [forbidCrossSiteReference](avfoundation/avassetreferencerestrictions/forbidcrosssitereference.md)
- [forbidLocalReferenceToLocal](avfoundation/avassetreferencerestrictions/forbidlocalreferencetolocal.md)
- [defaultPolicy](avfoundation/avassetreferencerestrictions/defaultpolicy.md)

### Initializers

- [init(rawValue:)](avfoundation/avassetreferencerestrictions/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Retrieving reference restrictions

- [referenceRestrictions](avfoundation/avasset/referencerestrictions.md)
