| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Johnny Kewl wrote:
Under the MacApp folder... can applications safely write to those files and
add unrelated folders.
If I understand what you mean by "MacApp folder", the answer is "No".
The reason is because the user running the app might not be the user who installed the app, and the ownership and permissions of the internal files and folders might not allow writing to the app's contents. If an app DOES allow free-for-all writing of its entire contents, it can be a security risk, depending on what security policies are in place.
So no, you can't *safely* write to the contents of the app. If you can do it, it might be unsafe. If you assume you can but can't complete it because permissions prevent it, then your app has to deal with that situation gracefully. If you have to deal with possible unwritability by doing Something Else, you may as well just do the Something Else in the first place.
Yes ;) All very good points... I'm not Macified yet.
Then I'm thinking if the application has an optional module... and that Jar
is added to Resources/Jar and the Info.plist modified accordingly
If you're going to write a Macified app, you should read about tbe basics of Mac apps:
<http://developer.apple.com/documentation/java/Conceptual/Java14Development/inde x.html> If you need to support user-added plugins and such, see this: <http://developer.apple.com/technotes/tn/tn2015.html>
You should also see this page of links: <http://developer.apple.com/java/>
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden
| References: | |
| >Re: ShortCuts in a MAC? (From: Greg Guerin <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.