PhotoDune

Security

11 posts
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
tonypearce says

I have the code below in more than one component I have purchased, is this allowing flashden access to my domain? FlashDenPreviewFileProtection.addAlowedDomain(“flashden.com”); FlashDenPreviewFileProtection.addAlowedDomain(“file”); FlashDenPreviewFileProtection.addAlowedDomain(“127.0.0.1”);

FlashDenPreviewFileProtection.addAlowedDomain("www.flashden.com");
2671 posts
  • Bought between 50 and 99 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 50 and 99 users
  • Sold between 100 000 and 250 000 dollars
  • United Kingdom
  • Won a Competition
Chuckanucka says

i think that code is only meant to be for the preview files, its so people can`t rip the swf and use it without the source code. You can just remove it.

2671 posts
  • Bought between 50 and 99 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 50 and 99 users
  • Sold between 100 000 and 250 000 dollars
  • United Kingdom
  • Won a Competition
Chuckanucka says

although tell the author because i think this will stop your file working when you upload to a server!

215 posts
  • Has been a member for 4-5 years
  • United States
CypherScience says

I’m surprised that works at all since the site is flashden.net not flashden.com

4335 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
  • Has been a member for 4-5 years
+6 more
Reaper-Media moderator says

hehe, maby he hasn’t scripted it correctly and you might be able to rip it…

but tony, it will not allow flashden to access your domain in any way, your security is not at risk at all. The most that someone could do with a file that you have bought is make the website see files which you tell it to do :)

it cant even see what files there are without you saying, and because you bought this on flashden thats even out of the question.

I think that most of us would agree it’s just supposed to be some security for the preview, you are not at risk at all. ;)

11 posts
  • Bought between 10 and 49 items
  • Has been a member for 4-5 years
tonypearce says

Reaper-media, don’t need to rip it the code is has been made freely available.

Can see why its used – having researched the code, flashdens files are on various pirate/share sites.

Anway Tomez has released his new smart xml template – I’m thinking of buying that.

3387 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 6-7 years
  • Microlancer Beta Tester
  • Referred between 500 and 999 users
  • Sold between 100 000 and 250 000 dollars
+1 more
bobocel says
I have the code below in more than one component I have purchased, is this allowing flashden access to my domain? FlashDenPreviewFileProtection.addAlowedDomain(“www.flashden.com”); FlashDenPreviewFileProtection.addAlowedDomain(“flashden.com”); FlashDenPreviewFileProtection.addAlowedDomain(“file”); FlashDenPreviewFileProtection.addAlowedDomain(“127.0.0.1”);

You’re safe to use the content. In the main files, the IsPreviewFile variable is set to false, so it doesn’t go inside the IF:

FlashDenPreviewFileProtection.IsPreviewFile = false;

if (!FlashDenPreviewFileProtection.isStolenSWF()) { .....

where the method is: .....

public static function isStolenSWF():Boolean 
  {
      //do not check if this is the fullversion file
      if (IsPreviewFile === false) return false;

It is there only to protect preview swf files, which now are not displaying anymore, because some files were moved to other servers. :(

The IP is to work locally when you test it.

7478 posts
  • Attended a Community Meetup
  • Community Moderator
  • Has been a member for 5-6 years
  • United Kingdom
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
  • Contributed a Blog Post
  • Beta Tester
  • Bought between 50 and 99 items
+4 more
MSFX moderator says
if (IsPreviewFile === false) return false; .....

Deary me!!

Please replace with this..

if(!isPreviewFile) return false;

Much prettier :)

For your files that aren’t working you’ll need to update the previews :(

by
by
by
by
by