[futurebasic] Re: [FB] [FB5] Disablement of "Show Package Contents"

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2009 : Group Archive : Group : All Groups

From: Deep <Info@...>
Date: Sun, 21 Jun 2009 21:49:43 +0100
Easier to just have it named as you intend to continue, so put the dot now
rather than later. Keep a visible resources folder (not hidden) and put your
sensitive files inside a hidden folder inside the visible folder:

/MyResources
/MyResources/.stuff/
/MyResources/.stuff/MySensitiveImage.jpg

This way, it does not confuse anything that is looking for a Resource folder
generally and avoids making changes to the bundle contents.

Remember that Apple generally forbids changes to the Bundle and any changes
render the program as quarantined. This is a security feature to prevent
apps looking innocent until run, and then change their purpose...! You are
also assuming the user/app is not on a write-protected volume or with
restricted "write" rights (!) such a non-admin user.


> From: <andy@...>
> Reply-To: <futurebasic@...>
> Date: Sun, 21 Jun 2009 21:37:58 +0100
> To: <futurebasic@...>
> Subject: Re: [FB] [FB5] Disablement of "Show Package Contents"
> 
> Hi Deep,
> 
>> The "chmod" will not work as blocking access to the folder contents will
>> also affect how the application can see the contents unless you make some
>> dubious workarounds.
> 
> Ok. Thanks.
> 
>> Removing the file extension and obscuring the name so "myimage.jpg"
>> becomes
>> "xtDat1" may be one method, and adding a preceding "." to make it
>> invisible
>> in the Finder file listing would compound the difficulty for a novice to
>> locate the data.
> 
> I think it would be easier to make the whole folder invisible as per your
> suggestion here and Michele's. I don't want to mess up my graphics
> production. So first the program is launched it should look for standard
> name and rename "myresources" folder as ".myresources" folder. That should
> be sufficient. It is just to stop casual user inspection.
> 
> Hmm, so how do you rename folders using FSSpecs?
> 
> Andy
> 
> --
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...