Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 1, 2011, 06:08 AM   #1
newformac
Banned
 
Join Date: May 2011
How to protect to show the package contents of my app?

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.
newformac is offline   -1 Reply With Quote
Old Jun 1, 2011, 06:10 AM   #2
miles01110
macrumors 604
 
miles01110's Avatar
 
Join Date: Jul 2006
Location: The Ivory Tower (I'm not coming down)
No and no.
__________________
Got a problem? Check here first.
miles01110 is offline   2 Reply With Quote
Old Jun 1, 2011, 07:40 AM   #3
Hansr
macrumors 6502a
 
Join Date: Apr 2007
What do you need to hide? Might just binary encode the resource (maybe with some hashing etc) or bundle it into the main binary?

Last edited by Hansr; Jun 1, 2011 at 09:21 AM.
Hansr is offline   0 Reply With Quote
Old Jun 1, 2011, 09:07 AM   #4
gnasher729
macrumors G5
 
gnasher729's Avatar
 
Join Date: Nov 2005
Quote:
Originally Posted by Learner View Post
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.
I can show the package contents of the Finder. Of iTunes. Of Microsoft Word. Of Adobe Reader. Of Xcode. Even of MacDefender. Why on earth would you want to hide the package contents of your app? Do you think anyone cares? Don't you have more important things to do, like making it actually work?
gnasher729 is offline   1 Reply With Quote
Old Jun 1, 2011, 11:38 AM   #5
zKarp
macrumors member
 
Join Date: Oct 2008
Location: New York
Send a message via AIM to zKarp Send a message via MSN to zKarp Send a message via Skype™ to zKarp
Learner it's really no different then going to C:\program files\PROGRAM_NAME\

and viewing all that jazz. Also opening and editing .dll files.

The basic user doesn't do **** to that. The above basic might edit some files to change the UI or rename some things inside. Advance might be able to hack it.


*If PSN can't stop intruders don't think you can either.
__________________
Snow Leopard, Windows 7 Ultimate; 8gb iPod Touch; 1TB Hardrive Fantom GreenDrive
Just trying to find my way in life..
I support the MacRumors Blood Drive!
zKarp is offline   0 Reply With Quote
Old Jun 1, 2011, 08:32 PM   #6
holmesf
macrumors 6502a
 
Join Date: Sep 2001
Quote:
Originally Posted by Learner View Post
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.

Last edited by holmesf; Jun 1, 2011 at 08:42 PM.
holmesf is offline   0 Reply With Quote
Old Jun 9, 2011, 11:38 PM   #7
newformac
Thread Starter
Banned
 
Join Date: May 2011
thanks for info.
newformac is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
rar app to open and view contents mrgreeneyes Mac Applications and Mac App Store 1 Mar 6, 2014 08:07 AM
Can't "Show Package Contents" with certain file type! jolej17 Mac Basics and Help 2 Mar 4, 2014 04:37 PM
Show Package Content of Adobe inDesign CS6.app boba7523 Mac OS X 10.7 Lion 4 Jul 30, 2013 02:20 AM
Wine/Winebottler debugging - possible to insert new exe into package contents? BryanMcN Windows, Linux & Others on the Mac 0 May 29, 2013 11:45 AM
Erasing and syncing replaces the contents of this iPhone with the contents of this... patent10021 iOS 6 0 Apr 8, 2013 02:19 AM

Forum Jump

All times are GMT -5. The time now is 05:29 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC