tags:

views:

24

answers:

1

Hi. I have added an action for a menu item in my app. I have added an action using applescript. Now for that action to perform i want to add user authentication. How to do this?

+1  A: 

See the Authorization Services Programming Guide. Pay very close attention to the methodology presented there - it's easy to authorize something you shouldn't, leading to escalated permissions for more than you intended.

Joshua Nozzi