<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetReferenceRestrictions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@E@AVAssetReferenceRestrictions"
  },
  "title" : "AVAssetReferenceRestrictions"
}
-->

# AVAssetReferenceRestrictions

Restrictions to use when resolving references to external media data.

```
struct AVAssetReferenceRestrictions
```

## Topics

### Reference restrictions

[`AVAssetReferenceRestrictionForbidNone`](/documentation/AVFoundation/AVAssetReferenceRestrictions/AVAssetReferenceRestrictionForbidNone)

The asset should follow all media references.

[`forbidAll`](/documentation/AVFoundation/AVAssetReferenceRestrictions/forbidAll)

The asset can only reference media stored within its container file.

[`forbidRemoteReferenceToLocal`](/documentation/AVFoundation/AVAssetReferenceRestrictions/forbidRemoteReferenceToLocal)

A remote asset shouldn’t follow references to local media.

[`forbidLocalReferenceToRemote`](/documentation/AVFoundation/AVAssetReferenceRestrictions/forbidLocalReferenceToRemote)

A local asset shouldn’t follow references to remote media.

[`forbidCrossSiteReference`](/documentation/AVFoundation/AVAssetReferenceRestrictions/forbidCrossSiteReference)

A remote asset shouldn’t follow references to remote media data stored at a different host.

[`forbidLocalReferenceToLocal`](/documentation/AVFoundation/AVAssetReferenceRestrictions/forbidLocalReferenceToLocal)

A local asset shouldn’t follow references to local media data stored outside its container file.

[`defaultPolicy`](/documentation/AVFoundation/AVAssetReferenceRestrictions/defaultPolicy)

The asset should use the default reference restrictions policy.

### Initializers

[`init(rawValue:)`](/documentation/AVFoundation/AVAssetReferenceRestrictions/init(rawValue:))

Creates reference restrictions with an integer value.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)