all groups > flash actionscript > december 2004 >
You're in the

flash actionscript

group:

Copy protection with Flash / Actionscript


Re: Copy protection with Flash / Actionscript Ken Fine
12/27/2004 8:52:05 PM
flash actionscript:

This is an honest response: my reaction when I hear this kind of question is
to ask what people are doing in Flash that's so original that it won't be
protected with the usual mechanisms of copyright or patent.

In terms of code I've seen very few things in Flash, decompiled or not, that
strike me as unique or original acts of software engineering. And it seems
like most visual art and design is properly protected by copyright statutes.

Personally I think it's healthy that Flash instances can be decompiled, that
clients can know exactly what they're paying for, that code can be analyzed
for weaknesses, and that up-and-coming developers who are so inclined can
"view source" as a learning exercise.

Just MHO - I respect yours.

-KF



[quoted text, click to view]

Copy protection with Flash / Actionscript Robert Sorrells
12/27/2004 8:53:33 PM
Hello,

Is there any way to copy protect a Flash SWF file? I ran across a tool
that allow you to reverse-engineer any SWF file to a FLA file and preserve
every line of code.

With ASP and other server-based technologies, all of the "secret magic" is
on the server. Even with Java, I recall that the Class files (or JAR files
or something like that) could be downloaded, but not reverse engineered, and
they could be made to look for a license file hidden on the server.

I've stopped all Flash development until we figure out how to "dumb down"
what we put into Flash.

Bob

Re: Copy protection with Flash / Actionscript Robert Sorrells
12/27/2004 10:15:47 PM
I will definitely check them out. I wish Macromedia could come up with a
way to securely encapsulate and encrypt the code, or to be able to do some
type of function calls to a server so the intellectual property can be on
the server instead of on the client's computer.

Bob


[quoted text, click to view]

Re: Copy protection with Flash / Actionscript Ken Fine
12/27/2004 10:38:50 PM
I wouldn't run any sort of connection that truly demands secure
communications across the wire in unencrypted form. I'm not a security
guy -- in my line of work, we +want+ people to take our information -- but
the party line is that "security through obscurity" is not a good assumption
to make.

Remember that even though the client may be open, the internals of your
server setup can be as closed as you like. The database is a good place to
enforce security diligently, and the last time I checked there was no source
freely available for MS SQL Server. Remember also that many "secure" clients
are totally open source -- the fact that people can probe the working of the
client doesn't mean the mechanism itself is insecure.

I'm not a crunchy-gronola open source advocate, but for script and
programming that's basically duplicative of stuff that's been done a billion
times before by smarter folks, I don't see the moral imperitive of trying to
obscure it, and I don't think MACR's business interests are served by
locking down their source. I know that maybe 1% of my learning has come from
Macromedia's efforts at documentation, 25% from good books I've bought, and
the rest from the goodwill and genorosity of a commuinity that thrives on
the free flow of information. Tell me: where would most of us be without
"View Source"? Would the nascent web development community of 1995 have been
served by obfuscated HTML and encrypted assemblies?

If someone can learn useful things from something I've done, I'm happy if
they go to the bother of decompiling it. If decompilers expose script
rip-offs, reveal substandard work, or discourage proprietary locks on
methods and tools, I think it's generally a benefit to the developer
community ... a kind of evolutionary pressure that discourages complacency
and exploitative relationships.

Again, if you have a different point of view, I welcome it and I respect it.
I'm piping up because I've heard many complaints about decompilation on the
forums and at every FlashForward I've attended, and I think it's worthwhile
to consider an alternative point of view.

-KF

[quoted text, click to view]

Re: Copy protection with Flash / Actionscript MCLMXXV
12/28/2004 3:18:41 AM
The obfuscator from http://www.genable.com/aso/ seems to work well for most of
the swf files I have created but does not work when I tried to obfuscate a
Flash Communication Server sample: sample_videoconference.swf ? dunno, got hte
latest version from http://www.genable.com/aso/ and this did improve since the
font color combo box now properly displays the colors as opposed to some
hexadecimal values. There does not seem to be many other products out there to
do obfuscation.......... anyone know an alternative? if not I ''l have to wait
for http://www.genable.com/aso/ to fix the bug.

Regards
Mario

Re: Copy protection with Flash / Actionscript Rothrock
12/28/2004 4:26:56 AM
About ever other day somebody asks this on these forums. The swf format is open
source by design. There is no way to protect a file AND make a file that can be
executed. There might be an obfuscator or two that seem to work, but the next
time Macromedia updates the player there is a very real chance that you file
might not work. Also any obfuscator that becomes popular will probably be
cracked in fairly short order. Good luck, but that way lies madness.
Re: Copy protection with Flash / Actionscript pudrocker
12/28/2004 5:46:20 AM
I'm all for open source, sharing and what have you; however, this ability to
decompile is possibly the reason why trying to use remoting securely for logins
and account management has become so difficult. Trying to convince corporations
to adopt this technology for RIA's while swf's can still be freely decompiled
is next to impossible with their paranoid views towards security. Sure, you
should always call remote AS files from a secure server location anyway -
question is: Why should we have to? I believe that open source should be
given, not taken. At least give us the option to share or not to share.

thoughts anyone?

pud
Re: Copy protection with Flash / Actionscript Ken Fine
12/28/2004 6:22:17 AM
That's certainly a fair concern, Bob. I'll offer one idea which may or may
not be helpful for your needs. Consider if it's possible for the most
proprietary aspects of your application to be embedded in the logic of your
database (e.g. SQL Server stored proc) or a COM component. Depending on what
you're doing, the Flash movies could hit the propreitary "magic box" that
resides on your server for essential processing, and you would maintain a
lock on things.

Most of us are using Flash, of course, because Flash has become what
client-side Java was promised to be.

-KF

[quoted text, click to view]

Re: Copy protection with Flash / Actionscript Robert Sorrells
12/28/2004 7:15:59 AM
Hi Ken,

I think a lot of us are very surprised at how easy Flash is to reverse
engineer, and extract every line of code, even the formatting. I think this
is a revelation to many people.

Without going into details, my application is fairly unique in my industry.
The biggest advantage I have now over my competitors thanks to my hidden ASP
code is the barrier to entry. It would be very difficult for someone to
recreate. Not so with Flash. They would have all of my important
algorithms, and have those "so that's how he did it" things that took me 2
years to develop. Also, defending a patient or copyright is beyond the
resources of most small businesses.

I'm surprised that Flash isn't as secure as Java. I'm going to have to take
a second look at Java.

Bob

[quoted text, click to view]

Re: Copy protection with Flash / Actionscript Ken Fine
12/28/2004 8:57:11 AM
Considering the relentlessness with which crackers have infiltratrated
advanced copy protections on PC software, any standard like Flash or Java is
going to have a very hard time. Autodesk had their dongle hardware key and
that was easily bypassed. Half-Life authenticates via the Internet on start;
that protection was compromised in days. Macromedia has a tough job here,
and I respect that every time I've heard the question asked at FlashForward
and whatnot, they've basically said, "we're aware of the issue, we're
looking at it, but good luck trying to keep client code locked up."

If you haven't done COM: it sounds mysterious and hard but setting it up in
basic form is actually a snap. Since ASP is on its way out, you can get
used/remaindered books off of Amazon very cheaply. Wrox Press's "Beginning
Components for ASP" is a good start, and you should be able to buy it for
just a few bucks.

-KF

[quoted text, click to view]

Re: Copy protection with Flash / Actionscript Bob Sorrells
12/28/2004 10:40:02 AM
Hi Ken,

Thank you Ken. I also googled "Java Decompiler" and Java has the same
issue. I see now that that's just the nature of client-side stuff.

Your suggestion of using a stored procedure or a COM component is an
excellent one, and that's the approach I will take. That will allow me to
balance having the rich controls and interaction that Flash offers, and to
keep some of the calculations and image processing on the server. That
will definitely work.

Its not as bad as I originally thought. ;)

Thanks!
Bob



[quoted text, click to view]
| That's certainly a fair concern, Bob. I'll offer one idea which may or may
| not be helpful for your needs. Consider if it's possible for the most
| proprietary aspects of your application to be embedded in the logic of
your
| database (e.g. SQL Server stored proc) or a COM component. Depending on
what
| you're doing, the Flash movies could hit the propreitary "magic box" that
| resides on your server for essential processing, and you would maintain a
| lock on things.
|
| Most of us are using Flash, of course, because Flash has become what
| client-side Java was promised to be.
|
| -KF
|
[quoted text, click to view]
| > Hi Ken,
| >
| > I think a lot of us are very surprised at how easy Flash is to reverse
| > engineer, and extract every line of code, even the formatting. I think
| this
| > is a revelation to many people.
| >
| > Without going into details, my application is fairly unique in my
| industry.
| > The biggest advantage I have now over my competitors thanks to my hidden
| ASP
| > code is the barrier to entry. It would be very difficult for someone to
| > recreate. Not so with Flash. They would have all of my important
| > algorithms, and have those "so that's how he did it" things that took me
2
| > years to develop. Also, defending a patient or copyright is beyond the
| > resources of most small businesses.
| >
| > I'm surprised that Flash isn't as secure as Java. I'm going to have to
| take
| > a second look at Java.
| >
| > Bob
| >
[quoted text, click to view]
| > >
| > > This is an honest response: my reaction when I hear this kind of
| question
| > is
| > > to ask what people are doing in Flash that's so original that it won't
| be
| > > protected with the usual mechanisms of copyright or patent.
| > >
| >
| >
|
|

Re: Copy protection with Flash / Actionscript Bob Sorrells
12/28/2004 10:44:45 AM
| Actually, this is possible with flash remoting and server-side
actionscript.
| The problem is that there will always be a delay when a remote method is
| called...

Thanks Soma,

Some things, such as a user dragging and moving an image around the screen,
will have to be done on the client, but with most other things that I do, a
1 or 2 second delay for some actions would not be a problem for me, so this
is feasible. I'll have to check out Flash Remoting and server-side
actionscript.

Thank you. That's very helpful.
Bob


Re: Copy protection with Flash / Actionscript somaboy mx
12/28/2004 5:24:53 PM
"Robert Sorrells" <rsorrellsU@KNOWmindspring.com> wrote...

8<
[quoted text, click to view]

Actually, this is possible with flash remoting and server-side actionscript.
The problem is that there will always be a delay when a remote method is
called...

..soma


Re: Copy protection with Flash / Actionscript l_zyboy
12/28/2004 5:54:28 PM
another way of looking at it, one raised on flashkit already, if people
stealing swfs - such as flash games - and putting them on other websites
without the owner/creator's permission. if there was a method of securing flash
content it would surely be easier for developers to impliment than court
proceedings based on copyright and patent.

how does the COM component work? do you mean storing sections of actionscript
on a server so that there are called by flash at runtime? if so, how do you
stop other people being able to grab the same scripts, if they can look inside
your swf and see where the information is stored and how you're calling it?
Re: Copy protection with Flash / Actionscript Jeckyl
12/28/2004 10:50:02 PM
obfuscators won't really help .. you can still decompile obfuscated code.
it might just add a bit of time to those wanting to work out what your code
does

AddThis Social Bookmark Button