---
title: com.apple.security.files.user-selected.read-only
framework: bundleresources
role: symbol
role_heading: Property List Key
path: bundleresources/entitlements/com.apple.security.files.user-selected.read-only
---

# com.apple.security.files.user-selected.read-only

A Boolean value that indicates whether the app may have read-only access to files the user has selected using an Open or Save dialog.

## Discussion

Discussion To add this entitlement to your app, enable the App Sandbox capability in Xcode and set User Selected File to Read Only.

## See Also

### Files and media

- [App Sandbox Entitlement](bundleresources/entitlements/com.apple.security.app-sandbox.md)
- [com.apple.security.files.user-selected.read-write](bundleresources/entitlements/com.apple.security.files.user-selected.read-write.md)
- [com.apple.security.files.downloads.read-only](bundleresources/entitlements/com.apple.security.files.downloads.read-only.md)
- [com.apple.security.files.downloads.read-write](bundleresources/entitlements/com.apple.security.files.downloads.read-write.md)
- [Privileged File Operations](bundleresources/entitlements/com.apple.developer.security.privileged-file-operations.md)
- [com.apple.security.assets.pictures.read-only](bundleresources/entitlements/com.apple.security.assets.pictures.read-only.md)
- [com.apple.security.assets.pictures.read-write](bundleresources/entitlements/com.apple.security.assets.pictures.read-write.md)
- [com.apple.security.assets.music.read-only](bundleresources/entitlements/com.apple.security.assets.music.read-only.md)
- [com.apple.security.assets.music.read-write](bundleresources/entitlements/com.apple.security.assets.music.read-write.md)
- [com.apple.security.assets.movies.read-only](bundleresources/entitlements/com.apple.security.assets.movies.read-only.md)
- [com.apple.security.assets.movies.read-write](bundleresources/entitlements/com.apple.security.assets.movies.read-write.md)
- [All files entitlement](bundleresources/entitlements/com.apple.security.files.all.md)
- [Data Protection Entitlement](bundleresources/entitlements/com.apple.developer.default-data-protection.md)
