Protect you SWF files online with SWFLOCK
Every Flash developer is facing security risks because of the fairly easy ways an Adobe Flash SWF file can be decompiled and reverse engineered. Without protection, anyone can easily reconstruct your SWF files stealing your work.
I already blogged about Flash Thieve and SWF Protector as a remedy, but this time I want you to know there is an online solution to protect your SWF files: SWFLOCK
SWFLOCK main features are:
* Protection of your valuable sourcecode
* Domain Lock
* Allow users to run the SWF file for a given trial period only
* Protect the SWF file with a password
Protecting a SWF file is very easy: select the type of service among the free (with a watermark) and a premium one (without watermark) at $4.99 per file

Then choose the options: preloader and domain lock in my case

Finally upload and download the file (warning: you will get the same filename as the file you uploaded… it would be better to add someting like “_protected” to the file you download).
I tried to decompile it with a common decrypter tool, and once loaded I realized that the domain lock worked…

Then when I opened the source code, that’s what I got:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | //class Main package { import flash.display.*; import flash.system.*; import flash.utils.*; public class Main extends flash.display.Sprite { public function Main() { var loc3:*=0; this.Content = Main_Content; super(); var loc1:*=new this.Content(); if (loc1) { loc1.uncompress(); loc3 = loc1.length; for (;;) { var loc4:*; loc3 = loc4 = loc3 - (64 >= 0); if (!loc4) { break; } loc1[loc3] = loc1[loc3] ^ 32 % 8; } } var loc2:*=new Loader(); loc2.loadBytes(loc1, new LoaderContext(false, new ApplicationDomain())); this.addChild(loc2); return; } private var Content:Class; } } |
Definitively not my code, and I could not my find my assets too… probably hidden somewhere around the web.
A good choice if you don’t have to protect a large number of files (unless SWFLOCK provides price plans for large number of protections) or you want to protect your sprites too.
They can be easily customized to meet the unique requirements of your project.
















(5 votes, average: 4.20 out of 5)









This post has 23 comments
SWFLOCK
Hi Emanuele,
First of all, thank you for your review. I hope people will find it useful.
As for the price plan. Right now we’re working on a third package for a large number of files with a reduced package price.
Please leave your comments, questions, suggestions or complaints.
Sincerely,
Pedram
It’s very cool.
but maybe 5$ per file is a little expensive for many projects/SWFs.
However I like it.
SWFLOCK
Hi Pedram,
Yes, we understand it may be a bit expensive for projects with multiple SWF files. We are working on a third package, ‘Professional’, that has a reduced price for these kind of projects.
fudo
> I could not my find my assets too… probably hidden somewhere around the web.
SWFLock does not hide anything around the web. Your original swf file was embedded as byte array in this new file. There’s a special tag in Flex for this.
Paranoid Bastard
And how do I know my original swf’s aren’t being saved somewhere on SWFLOCK ?
The product and the site look OK but I’m sticking to my currejt encryption software … because I know the unencrypted swf never leaves my computer.
Bruce Jawn
Try this swf protection tool:
http://bruce-lab.blogspot.com/2010/05/swf-cry-free-online-swf.html
It’s free and safer!
SWFLOCK
Hi ‘Paranoid Bastard’,
Files are stored on our servers for approximate 1 hour before automatically being deleted using a cronjob service. Ofcourse you have to take our word for it that we do not alter or save files uploaded by our customers.
Sincerely,
Kort Pleco
I’m something of a flash novice (or noob depending on your social circle) so would this work for helping to prevent unauthorized copying of a flash object that I want to embed on my site? I plan to expose the SERVICES that the flash object accesses as a paid item, but I want a demo on my site for free.
SWFLOCK
Hi Kort,
You can add a domain lock to prevent the SWF from running on other websites or offline.
Please contact us for questions or specific requirements:
http://www.swflock.com/contact/
Sincerely,
MC
What if you need to update your file (the same game)
you have to pay again?
SWFLOCK
Hi MC,
Yes, SWFLock works per file.
You can use the Test Evaluation service while in development stage. Use the Premium service only when your game/application is finished and ready to go live.
In the near future there will be a license-based service for an unlimited amount of files.
vitaLee
5$ per file is wayyy too much.
to me your price list (offer)is unrealistic and definetely not flexible.
SWFLOCK
Hi vitaLee,
It really depends how often you’re planning to use it. SWFLock is especially ment for developers that encrypt files only a few times a year. Because it’s online, you don’t have to buy a 150 dollar software package to be able to protect your files.
If you’re planning to use it more often, a third package, as mentioned above, is in development.
Harry
The site certainly look professional. Will look into using this for my next game.
Chris
I just want to say that I think $5 to pay per file is quite reasonable. The tool stops people from pirating your work. If your software is popular enough that piracy is a problem, then $5 is a drop in the bucket.
Everything can’t be free. I’d rather pay a little for a stable full-featured product than get something unstable and difficult to use for free.
Eljo
Hey Paranoid,
I’m looking into different encryption methods at the moment. SWFLock is on my radar, but do you mind me asking which encryption package you’re using at the moment?
Eljo
I’ve fiddled around with the latest version and it now includes code obfuscation, meaning you’ll never see the source code as mentioned in this article when decompiling.
As for the $4,99 price tag: I can only understand this being too much if your projects are worth less than a few hundred bucks (which probably means you’re doing something wrong).
Jos
Can you guarantee that protected swf’s run exactly the way the non protected swf’s would run? I’m thinking communication with e.g. soap services, posting data, embedding other swf’s, etc.
SWFLOCK
Hello Jos,
We have thoroughly tested SWFLock and never had any problems.
If you’re still not confident, then please use the ‘Free Evaluation Service’ to see if our product fits your needs.
Sincerely,
SWFLOCK
Hi Eljo,
You are right. We updated SWFLock last week to support code obfuscation.
kazem
I use Flash Secure Optimizer from eramsoft.com
SWFLOCK
Hello everyone,
Just wanted to let you all know that SWFLock left beta and that we lowered the price to one dollar.
Thank you all for the kind feedback, we really appreciate it.
Regards,
SWFLock
Patrick
$1 per one encrypted file is a high price. You can encrypt only 40 files for $40 whereas you can pay $40 for Dcomsoft SWF Protector and protect an unlimited number of files.