Re: Hiding Package Contents
Re: Hiding Package Contents
- Subject: Re: Hiding Package Contents
- From: Ricky Sharp <email@hidden>
- Date: Thu, 31 Jan 2002 10:32:33 -0600
On Thursday, January 31, 2002, at 09:03 AM, Ondra Cada wrote:
Riccardo,
Riccardo Santato (RS) wrote at Thu, 31 Jan 2002 13:57:56 +0100:
RS> is there a way to hide "package contents" from users eyes in a final
RS> application? I don't like it very much...
RS> Can you help me ?
If you want to mess things up a bit, you can use the bundle bit too;
search
the documentation for it (since I don't use it, I don't know where
exactly it
is documented, but it is just a flag which says Finder "don't show this
bundle contents, regardless the extension").
No. The package/bundle bit, even if set, doesn't prevent users from
using the "Show Package Contents" commnad (under 9.x or X).
There is (thanks God!) no way to hide package contents from a power
user,
who can peek there either in Terminal or by other ways (though I don't
use
Finder, I seem to remeber there is an option for revealing a file
package
contents there, possibly in the contextual menu).
The contextual menu item "Show Package Contents" under X didn't use to
show up when in a Finder list view. This bug seems to have been fixed
starting in 10.1.2.
If you want to "hide" things a bit more, perhaps make your internal
folders/files invisible. Still, power users will be able to see those.
If it's a matter of you not wanting users to steal certain things (e.g.
all those graphics you spent hours authoring), then use some sort of
encryption on those files. Of course the downside is that your app now
needs to decrypt them before use. But I've found this very worth
it...all my app's media files (which reside inside the bundle) are
encrypted.
___________________________________________________________
Ricky A. Sharp
mailto:email@hidden
Founder & President
Instant Interactive(tm)
http://www.instantinteractive.com