hello,
what i need for my project is a simple authorization from time to time if for
example a file is being moved and i don't have access. i'm just starting to
learn about authorization services and maybe this is what i need to do although
it looks a bit complex for my needs. what i have found in the archives and
what actually works for me is using NSApplescript with a shell script and
administrator privileges flag and it prompts for a password when needed. the
only issue is it doesn't remember the time stamp and will ask for a password
multiple times within 5 minutes. if only i can control that time stamp or if i
can use NSTask it could work too, but i'm not sure there's a way to get the
typical authentication window by using NSTask. i definitely don't need to do
something like run my project as root or anything like that. hope this makes
sense and any pointers are much appreciated. thank you for your time,
rick
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]