Hi all,
i want to protect to show the package contents.
is there any method to this.
of if its is not possible ,can i make is password protected.
please help me for this.
thanks in advance.
From the view of the OS your .app file is a directory like any other (fun exercise: try making a directory and then rename it to test.app). So protecting it would require giving the OS access to this directory without giving the user access -- impossible.
If there is something in there that you don't want users accessing you're going to have to use a very robust security scheme. And even then it will probably be cracked anyway, and just to embarrass you for even trying to protect your app they'll probably try to crack it in less than an hour. (if a company like Adobe cannot manage to protect their assets, do you think you can? of course not).
Not to sound meanhearted, but I've released software in the past and know that it's useless to try to do this sort of thing. Back in 2003 I released a game, and even though I was using what I thought was a clever scheme to validate serial numbers pirates reverse engineered it and used it to spit out every single valid serial number in a matter of a day. If someone wants to break your software bad enough they simply will.