• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?


  • Subject: Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 24 Jun 2016 17:47:26 -0700
  • Feedback-id: 167118m:167118agrif8a:167118slXlOfro31:SMTPCORP

On Jun 24, 2016, at 16:24 , Charles Srstka <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
      • From: Charles Srstka <email@hidden>
References: 
 >How to pre-select a file in NSOpenPanel -- specifically, a .app bundle? (From: Andy Lee <email@hidden>)
 >Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle? (From: Quincey Morris <email@hidden>)
 >Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle? (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
  • Next by Date: Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
  • Previous by thread: Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
  • Next by thread: Re: How to pre-select a file in NSOpenPanel -- specifically, a .app bundle?
  • Index(es):
    • Date
    • Thread