If you uncheck the "include function names" option in the REALbasic
compiler settings, then function names and property names are
generally not included.
As for storing passwords etc, your best bet is to use a little
obfuscation.
I've had some luck storing sensitive string literals as a series of
CHR(n) codes.
ie. socket.password = chr(n) + chr(n) + chr(n) ... etc, where n is
the ASCII code for the letter you need.
Also, try using innocuously named functions to retrieve passwords and
socket subclasses eg,
socket.data = getData(socket)
data is an internal method of the socket subclass (encrypted) that
takes a string value and assigns it to the sockets password property.
getData is a call that takes a socket as a paremeter, and then looks
up the password for that socket based on it's address/othervalue and
returns the password as a string of CHR codes.
Nothing is perfect, but it can be made difficult.
- Tom
On 04/03/2006, at 11:57 PM, Robert Carroll wrote:
Hi,
I've been spending some time recently trying to build a tighter
registration scheme to control access to the demo version of my
application. This has led to some concern over what information can
be read easily from the compiled application file. ie. serial
numbers etc.
Just now, I moved a copy of the built application file out of the
bundle structure and opened it as a text file. In the latter
section of the file, pretty much any text entries from the RB file
are openly visible. This includes control names, variables, array
structures etc.
Is there any way to make these entries more difficult to access?
thanks
Rob
RB 5.5.5, Mac OS X 10.4.5
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
All questions and answers unless otherwise stated are in Relation to
Mac OS X 10.4 and later.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>