The correct way is to show an NSOpenPanel and ask the user to open the Desktop folder. Then store the security scoped bookmark.
Topic:
Code Signing
SubTopic:
Entitlements
Tags: