On Jun 24, 2016, at 16:24 , Charles Srstka <cocoa...@charlessoft.com> wrote: > > How could this be a security threat, when a malicious program could just set > canChooseDirectories to true, open the panel to the app’s parent directory, > and spearphish the user into clicking OK on that?
(I wasn’t referring to opening apps, but to files generally.) Clicking OK won’t do anything until the user selects something, and the app can’t preset or change the selection. Maybe my logic is incorrect, but this seems to me to prevent attempts to fool the user into choosing something unintended. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com