---
title: Protected resources
framework: bundleresources
role: collectionGroup
role_heading: API Collection
path: bundleresources/protected-resources
---

# Protected resources

Control an app’s access to protected system services and user data.

## Overview

Overview Before your app can access certain protected resources, like the Bluetooth interface, location information, or the user’s photos, the system asks the user for permission on behalf of your app. The prompt that the system displays includes a UsageDescription string you provide, explaining why your app needs to access the protected resource. Enter the string in the Signing and Capabilities editor for your app’s target, as described in Requesting access to protected resources. Xcode adds the string as the value for the relevant Information Property List key in your app’s build settings. The topics below list the keys you use to provide usage-description strings for protected resources.

## Topics

### Essentials

- [Requesting access to protected resources](uikit/requesting-access-to-protected-resources.md)
- [Inspecting app activity data](network/inspecting-app-activity-data.md)

### Bluetooth

- [NSBluetoothAlwaysUsageDescription](bundleresources/information-property-list/nsbluetoothalwaysusagedescription.md)
- [NSBluetoothPeripheralUsageDescription](bundleresources/information-property-list/nsbluetoothperipheralusagedescription.md)

### Calendar and reminders

- [NSCalendarsFullAccessUsageDescription](bundleresources/information-property-list/nscalendarsfullaccessusagedescription.md)
- [NSCalendarsWriteOnlyAccessUsageDescription](bundleresources/information-property-list/nscalendarswriteonlyaccessusagedescription.md)
- [NSRemindersFullAccessUsageDescription](bundleresources/information-property-list/nsremindersfullaccessusagedescription.md)
- [Accessing the event store](eventkit/accessing-the-event-store.md)

### Camera and sound

- [Requesting authorization to capture and save media](avfoundation/requesting-authorization-to-capture-and-save-media.md)
- [Requesting Authorization for Media Capture on macOS](bundleresources/requesting-authorization-for-media-capture-on-macos.md)
- [NSAudioCaptureUsageDescription](bundleresources/information-property-list/nsaudiocaptureusagedescription.md)
- [NSCameraUsageDescription](bundleresources/information-property-list/nscamerausagedescription.md)
- [NSMainCameraUsageDescription](bundleresources/information-property-list/nsmaincamerausagedescription.md)
- [NSMicrophoneUsageDescription](bundleresources/information-property-list/nsmicrophoneusagedescription.md)

### Contacts

- [Accessing the contact store](contacts/accessing-the-contact-store.md)
- [NSContactsUsageDescription](bundleresources/information-property-list/nscontactsusagedescription.md)

### Face ID

- [Logging a User into Your App with Face ID or Touch ID](localauthentication/logging-a-user-into-your-app-with-face-id-or-touch-id.md)
- [NSFaceIDUsageDescription](bundleresources/information-property-list/nsfaceidusagedescription.md)

### Files and folders

- [NSDesktopFolderUsageDescription](bundleresources/information-property-list/nsdesktopfolderusagedescription.md)
- [NSDocumentsFolderUsageDescription](bundleresources/information-property-list/nsdocumentsfolderusagedescription.md)
- [NSDownloadsFolderUsageDescription](bundleresources/information-property-list/nsdownloadsfolderusagedescription.md)
- [NSNetworkVolumesUsageDescription](bundleresources/information-property-list/nsnetworkvolumesusagedescription.md)
- [NSRemovableVolumesUsageDescription](bundleresources/information-property-list/nsremovablevolumesusagedescription.md)
- [NSFileProviderDomainUsageDescription](bundleresources/information-property-list/nsfileproviderdomainusagedescription.md)

### Game Center

- [NSGKFriendListUsageDescription](bundleresources/information-property-list/nsgkfriendlistusagedescription.md)

### Health

- [Setting up HealthKit](healthkit/setting-up-healthkit.md)
- [NSHealthClinicalHealthRecordsShareUsageDescription](bundleresources/information-property-list/nshealthclinicalhealthrecordsshareusagedescription.md)
- [NSHealthShareUsageDescription](bundleresources/information-property-list/nshealthshareusagedescription.md)
- [NSHealthUpdateUsageDescription](bundleresources/information-property-list/nshealthupdateusagedescription.md)
- [NSHealthRequiredReadAuthorizationTypeIdentifiers](bundleresources/information-property-list/nshealthrequiredreadauthorizationtypeidentifiers.md)

### Home

- [Enabling HomeKit in your app](homekit/enabling-homekit-in-your-app.md)
- [NSHomeKitUsageDescription](bundleresources/information-property-list/nshomekitusagedescription.md)

### Location

- [Choosing the  Location Services Authorization to Request](bundleresources/choosing-the-location-services-authorization-to-request.md)
- [NSLocationAlwaysAndWhenInUseUsageDescription](bundleresources/information-property-list/nslocationalwaysandwheninuseusagedescription.md)
- [NSLocationUsageDescription](bundleresources/information-property-list/nslocationusagedescription.md)
- [NSLocationWhenInUseUsageDescription](bundleresources/information-property-list/nslocationwheninuseusagedescription.md)
- [NSLocationTemporaryUsageDescriptionDictionary](bundleresources/information-property-list/nslocationtemporaryusagedescriptiondictionary.md)
- [NSLocationAlwaysUsageDescription](bundleresources/information-property-list/nslocationalwaysusagedescription.md)
- [NSWidgetWantsLocation](bundleresources/information-property-list/nswidgetwantslocation.md)
- [NSLocationDefaultAccuracyReduced](bundleresources/information-property-list/nslocationdefaultaccuracyreduced.md)

### MediaPlayer

- [Requesting Access to Apple Music Library](storekit/requesting-access-to-apple-music-library.md)
- [NSAppleMusicUsageDescription](bundleresources/information-property-list/nsapplemusicusagedescription.md)

### Messages

- [NSCriticalMessagingUsageDescription](bundleresources/information-property-list/nscriticalmessagingusagedescription.md)

### Motion

- [NSMotionUsageDescription](bundleresources/information-property-list/nsmotionusagedescription.md)
- [NSFallDetectionUsageDescription](bundleresources/information-property-list/nsfalldetectionusagedescription.md)

### Networking

- [NSLocalNetworkUsageDescription](bundleresources/information-property-list/nslocalnetworkusagedescription.md)
- [NSNearbyInteractionUsageDescription](bundleresources/information-property-list/nsnearbyinteractionusagedescription.md)
- [NSNearbyInteractionAllowOnceUsageDescription](bundleresources/information-property-list/nsnearbyinteractionallowonceusagedescription.md)

### NFC

- [NFCReaderUsageDescription](bundleresources/information-property-list/nfcreaderusagedescription.md)

### Photos

- [Delivering an Enhanced Privacy Experience in Your Photos App](photokit/delivering-an-enhanced-privacy-experience-in-your-photos-app.md)
- [NSPhotoLibraryAddUsageDescription](bundleresources/information-property-list/nsphotolibraryaddusagedescription.md)
- [NSPhotoLibraryUsageDescription](bundleresources/information-property-list/nsphotolibraryusagedescription.md)

### Scripting

- [NSAppleScriptEnabled](bundleresources/information-property-list/nsapplescriptenabled.md)

### Security

- [NSUpdateSecurityPolicy](bundleresources/information-property-list/nsupdatesecuritypolicy.md)
- [NSAppDataUsageDescription](bundleresources/information-property-list/nsappdatausagedescription.md)
- [NSUserTrackingUsageDescription](bundleresources/information-property-list/nsusertrackingusagedescription.md)
- [NSAppleEventsUsageDescription](bundleresources/information-property-list/nsappleeventsusagedescription.md)
- [NSSystemAdministrationUsageDescription](bundleresources/information-property-list/nssystemadministrationusagedescription.md)
- [ITSAppUsesNonExemptEncryption](bundleresources/information-property-list/itsappusesnonexemptencryption.md)
- [ITSEncryptionExportComplianceCode](bundleresources/information-property-list/itsencryptionexportcompliancecode.md)

### Sensors

- [NSSensorKitUsageDescription](bundleresources/information-property-list/nssensorkitusagedescription.md)
- [NSSensorKitUsageDetail](bundleresources/information-property-list/nssensorkitusagedetail.md)
- [NSSensorKitPrivacyPolicyURL](bundleresources/information-property-list/nssensorkitprivacypolicyurl.md)

### Siri

- [Requesting Authorization to Use Siri](sirikit/requesting-authorization-to-use-siri.md)
- [NSSiriUsageDescription](bundleresources/information-property-list/nssiriusagedescription.md)

### Speech

- [Asking Permission to Use Speech Recognition](speech/asking-permission-to-use-speech-recognition.md)
- [NSSpeechRecognitionUsageDescription](bundleresources/information-property-list/nsspeechrecognitionusagedescription.md)

### System Extensions

- [NSSystemExtensionUsageDescription](bundleresources/information-property-list/nssystemextensionusagedescription.md)
- [OSBundleUsageDescription](bundleresources/information-property-list/osbundleusagedescription.md)

### TV

- [NSVideoSubscriberAccountUsageDescription](bundleresources/information-property-list/nsvideosubscriberaccountusagedescription.md)

### Vision

- [NSWorldSensingUsageDescription](bundleresources/information-property-list/nsworldsensingusagedescription.md)
- [NSHandsTrackingUsageDescription](bundleresources/information-property-list/nshandstrackingusagedescription.md)
- [NSAccessoryTrackingUsageDescription](bundleresources/information-property-list/nsaccessorytrackingusagedescription.md)

### Wallet

- [NSFinancialDataUsageDescription](bundleresources/information-property-list/nsfinancialdatausagedescription.md)
- [NSIdentityUsageDescription](bundleresources/information-property-list/nsidentityusagedescription.md)

### Wi-Fi

- [UIRequiresPersistentWiFi](bundleresources/information-property-list/uirequirespersistentwifi.md)

### Deprecated keys

- [NSCalendarsUsageDescription](bundleresources/information-property-list/nscalendarsusagedescription.md)
- [NSEnterpriseMCAMUsageDescription](bundleresources/information-property-list/nsenterprisemcamusagedescription.md)
- [NSRemindersUsageDescription](bundleresources/information-property-list/nsremindersusagedescription.md)

## See Also

### Services

- [Data and storage](bundleresources/data-and-storage.md)
- [App services](bundleresources/app-services.md)
- [Kernel and drivers](bundleresources/kernel-and-drivers.md)
