|
-
Jan 16th, 2008, 05:19 AM
#1
Thread Starter
Fanatic Member
How to Protect your file/s - Help Needed
pls how can you protect(if possible) your external javascript and swf file/s from online thieves.
and one more thing: how can you keep a page from the browser history(using javascript)?
i once read sometimes ago that javascript's location.replace will do it but it seems it only works with older browsers.
thank you.
Last edited by modpluz; Jan 17th, 2008 at 06:04 AM.
-
Jan 17th, 2008, 06:02 AM
#2
Thread Starter
Fanatic Member
Re: How to Protect your file/s - Help Needed
-
Jan 17th, 2008, 11:26 AM
#3
Re: How to Protect your file/s - Help Needed
The javascript file can be compressed ( do a search for javascript compress ), it doesn't stop anyone from stealing it though, just makes it a little more difficult to read. If you are so concerned about people finding out bits of your logic, then you should be placing this logic in a business logic layer.
SWF files have an equivalent... it's uh... uhm...
-
Jan 17th, 2008, 02:39 PM
#4
Re: How to Protect your file/s - Help Needed
Actually I don't know if this would be considered an AD but my company makes obfuscation software for both JavaScript and SWF files
http://www.kindisoft.com/
I hope this doesn't get me in trouble
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jan 21st, 2008, 03:53 AM
#5
Re: How to Protect your file/s - Help Needed
Well it does answer the question asked. Now if it was free it would be even better but the OP didnt state he was looking for a free solution only.
I have read where swf files can be cracked quite easily.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 21st, 2008, 05:45 PM
#6
Thread Starter
Fanatic Member
Re: How to Protect your file/s - Help Needed
if there are free tools its fine by me(but we all know most free apps have one or more limitations and you have to upgrade to a "pro" version to get the full functionalities).
but am also opened to "paid apps" opinion(if there are any-apart from the ones mention in ComputerJy's post).
-
Jan 21st, 2008, 05:58 PM
#7
Re: How to Protect your file/s - Help Needed
 Originally Posted by RobDog888
Well it does answer the question asked. Now if it was free it would be even better but the OP didnt state he was looking for a free solution only.
I have read where swf files can be cracked quite easily.
That's why we make obfuscation software 
 Originally Posted by modpluz
but am also opened to "paid apps" opinion(if there are any-apart from the ones mention in ComputerJy's post).
Actually there are only 2 or 3 obfuscation software for flash, all of them are commercial (no open source projects so far) but none support flash 9 yet.
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jan 25th, 2008, 02:03 PM
#8
Re: How to Protect your file/s - Help Needed
 Originally Posted by modpluz
pls how can you protect(if possible) your external javascript and swf file/s from online thieves.
No. How would you expect to protect files that are downloaded and run on the client? It's simply not possible. Even if you obfusticate or compress the code, it's still easy to run them through a debugger or decompiler and figure out what they're doing. The same goes for trying to protect images.
Your best defense is Patents (for algorithms, etc), Copyrights (for text, images/graphics) and Watermarks (images). If you have something worth stealing, someone is going to steal it. If you have a Patent, Copyright or Watermark it makes it difficult for the theif to figure out how to use the item without being thrown in jail when you find out.
If you have any kind of business logic, website settings, database information, etc setup in those JS or SWF files then you have a really big security vulnerability that needs to be resolved by changing your design, rather than trying to prevent people from accessing files that they have to access anyway.
 Originally Posted by modpluz
and one more thing: how can you keep a page from the browser history(using javascript)?
No sane or modern web browser does this anymore and for good reason. You should NEVER modify the default behavior of the web browser. Not only is it considered malicious but it's just rude.
If you actually require this, then you need to re-think the architecture of your website.
 Originally Posted by RobDog888
I have read where swf files can be cracked quite easily.
It's just a matter of opening one in a Flash Decompiler. Works amazingly well.
 Originally Posted by ComputerJy
That's why we make obfuscation software 
No offence but obfuscation by definition does not prevent nor hinder the decompiling of Flash objects. While it may make the source difficult to read, all of the images and logic is still there. Sure, it may take a little longer to figure it out but there isn't anyway to prevent decompiling a Flash movie without breaking the movie itself.
-
Jan 25th, 2008, 05:27 PM
#9
Re: How to Protect your file/s - Help Needed
 Originally Posted by kasracer
No offence but obfuscation by definition does not prevent nor hinder the decompiling of Flash objects. While it may make the source difficult to read, all of the images and logic is still there. Sure, it may take a little longer to figure it out but there isn't anyway to prevent decompiling a Flash movie without breaking the movie itself.
Actually every knows flash compiler crashed when trying to decompile the output of out application.
That's why I'm proud
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jan 26th, 2008, 12:19 PM
#10
Re: How to Protect your file/s - Help Needed
 Originally Posted by ComputerJy
Actually every knows flash compiler crashed when trying to decompile the output of out application.
That's why I'm proud 
Obfuscation, by definition, doesn't do anything that should cause that. You're doing something odd 
I've tried one a long time ago with a decompiler and it worked fine. I would imagine the decompiler that would crash doesn't fully support everything within Flash so don't worry, it'll get there if it still does it
-
Jan 26th, 2008, 12:58 PM
#11
Re: How to Protect your file/s - Help Needed
 Originally Posted by kasracer
Obfuscation, by definition, doesn't do anything that should cause that. You're doing something odd
I've tried one a long time ago with a decompiler and it worked fine. I would imagine the decompiler that would crash doesn't fully support everything within Flash so don't worry, it'll get there if it still does it 
That's why I still have a job after version 1
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|