Re: Security - Write to protected directory
Re: Security - Write to protected directory
- Subject: Re: Security - Write to protected directory
- From: Dragan Milić <email@hidden>
- Date: Sat, 25 Oct 2008 00:52:57 +0200
Hi all.
Now, I really sincerely apologise for bringing this thread into life
again and for probably abusing the list, since the topic is not
strictly Cocoa, so if moderators mind this, just don't approve the
message. But I need to ask a bit of advice related to privileged
reading/writing and I couldn't find any other place to ask, since it's
more related to user experience and app interface design.
On pet 03. 10. 2008., at 05:30, Bill Bumgarner wrote:
So... again... why does the OP's app need to write anything with
authorization privileges (and where)?
I'd like to refer to this question...
Assume I created an archiving tool and a user wants to extract some
files from an archive into a directory one hasn't got write permission
for (e.g. /Applictions). Currently, the application shows alert sheet
informing the user of "permission denied" error. But imagine that
instead of that, a standard Mac OS X authentication dialog appears,
asking for admin password in order to complete the operation (with
prior explanation of why that is necessary). Of course, if the user is
suspicious, he/she can click "Cancel", in which case the "permission
denied" error would appear as intended.
Do you think this is a good idea? On the one (positive) side, I think
it'd make user interaction much smoother in the situations similar to
the one above and possibly look like professional way to handle them.
On the other (negative) side, I'm aware many people wouldn't trust
giving admin password to my application, some may think that I faked
authentication panel, some may wonder "why in the world do I need to
enter admin password to extract files?!". Also, many people tend to
think that password should be asked only by (preferably Apple)
installers and system tools (e.g. DiskUtility...) and in no case
should it be asked from a shareware app.
Once again, I apologise if this was too much of abusing this list.
Milke
_______________________________________________
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