tips
[Top] [All Lists]

Protecting your compiled applications AppleScripts

To: "REALbasic Tips" <realbasic-tips at lists dot realsoftware dot com>
Subject: Protecting your compiled applications AppleScripts
From: Geoff Perlman <geoff at realsoftware dot com>
Date: Mon, 01 May 2000 17:27:48 -0500
As you know, you can include AppleScript scripts in your REALbasic projects. But while compiling your application protects your REALbasic source code, it may not protect your AppleScript scripts. Any scripts that are part of your project and are called in your REALbasic code are included in your compiled application. If you saved the script as a compiled script, the source code
for the AppleScript is included in the script and as a result, will be
included in your compiled application. That means that a user that is
comfortable using ResEdit could copy the script from the scpt resource of
your compiled application into an empty compiled script file, change the
resource id to 128 and look at your AppleScript script's source code.

To avoid this, when saving your scripts, choose "run-only". This creates a script that can be run but doesn't include the source code. Make sure you
don't accidentally save over your original code of course.

This tip was inspired by Paul Scandariato of Intelli Innovations, Inc.
--

Geoff Perlman
President & CEO
REAL Software, Inc.
http://www.realsoftware.com
mailto:geoff at realsoftware dot com
Phone: 512-263-1233 x711
Fax:   512-263-1441



 - - - - - - - - - -
Got a useful tip to share? Send it to us at:
REALbasic-tips at lists dot realsoftware dot com dot
For list commands, send "Help" in the body of a message to
<requests at lists dot realsoftware dot com>



<Prev in Thread] Current Thread [Next in Thread>
  • Protecting your compiled applications AppleScripts, Geoff Perlman <=