---
title: withSecurityScope
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsurl/bookmarkresolutionoptions/withsecurityscope
---

# withSecurityScope

Specifies that the security scope, applied to the bookmark when it was created, should be used during resolution of the bookmark data.

## Declaration

```swift
static var withSecurityScope: NSURL.BookmarkResolutionOptions { get }
```

## See Also

### Constants

- [withoutUI](foundation/nsurl/bookmarkresolutionoptions/withoutui.md)
- [withoutMounting](foundation/nsurl/bookmarkresolutionoptions/withoutmounting.md)
- [withoutImplicitStartAccessing](foundation/nsurl/bookmarkresolutionoptions/withoutimplicitstartaccessing.md)
