CodeCanyon

The security alert may affect the sale?

Lukasz_Czerwinski
Lukasz_Czerwinski Recent Posts
Threads Started
63 posts
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 200 and 499 users
  • Sold between 5 000 and 10 000 dollars
  • Author had a Free File of the Month
  • Bought between 1 and 9 items
  • Poland
Lukasz_Czerwinski says

Hi everyone,

I have the security alert (I included the alert() function in my scripts) on my live preview for protect my script – the way works fine, but I am not sure whether it may affect the sale.

What do you think about it?

1663 posts
  • Sold between 50 000 and 100 000 dollars
  • Author had a Free File of the Month
  • Bought between 1 and 9 items
  • Exclusive Author
  • Europe
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
Tean says

How is this protecting your file?

Lukasz_Czerwinski
Lukasz_Czerwinski Recent Posts
Threads Started
63 posts
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 200 and 499 users
  • Sold between 5 000 and 10 000 dollars
  • Author had a Free File of the Month
  • Bought between 1 and 9 items
  • Poland
Lukasz_Czerwinski says

How is this protecting your file?
Hi Tean,

So, I put all the scripts in one file. I put the alert () function with a message in the same file. Finally, I obfuscate the script. The trick works perfect because I don’t see any illegal distributes of my script. ;)

966 posts
  • United Kingdom
  • Community Superstar
  • Attended a Community Meetup
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 2-3 years
  • Microlancer Beta Tester
  • Bought between 100 and 499 items
  • Referred between 10 and 49 users
+1 more
aaranmcguire says

To be perfectly honest, an alert() does nothing, i can still go in and steal the code if I wanted too. You need to obfuscate the code and even then its not imposable to steal, just 1 more step for stealers.

3383 posts
  • Australia
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Interviewed on the Envato Notes blog
  • Microlancer Beta Tester
  • Sold between 1 000 and 5 000 dollars
Australia says

Adding the alert probably serves to make people try and hack your script, serves as an invitation.

HigherGroundStudio
HigherGroundStudio Recent Posts
Threads Started
27 posts
  • United States
  • Sold between 1 000 and 5 000 dollars
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
  • Exclusive Author
  • Referred between 10 and 49 users
HigherGroundStudio says

Great script and demo site! In my opinion, the alert seems unprofessional. I would take it down and either trust people with the live preview or else just do videos. Obfuscating the code is a great idea as it makes most people unable to just grab and go, stealing your script easily. At least they have to do some work. Even as easy as it is to unobfuscate code. I wish there was a good way to make it where people could not steal css or js…

Lukasz_Czerwinski
Lukasz_Czerwinski Recent Posts
Threads Started
63 posts
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 200 and 499 users
  • Sold between 5 000 and 10 000 dollars
  • Author had a Free File of the Month
  • Bought between 1 and 9 items
  • Poland
Lukasz_Czerwinski says

Thanks for the all replies. I removed the alert message ;)

624 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 100 and 1 000 dollars
Thecodingdude says

You can’t protect client side code, it’s impossible. There is always a way to get around the protection, no matter how advanced. If it can be protected, it can be unprotected.

Lukasz_Czerwinski
Lukasz_Czerwinski Recent Posts
Threads Started
63 posts
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 200 and 499 users
  • Sold between 5 000 and 10 000 dollars
  • Author had a Free File of the Month
  • Bought between 1 and 9 items
  • Poland
Lukasz_Czerwinski says

You can’t protect client side code, it’s impossible. There is always a way to get around the protection, no matter how advanced. If it can be protected, it can be unprotected.

You’re right, but I thought that the trick impeding illegal check of my script.. :)

32 posts
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Bought between 1 and 9 items
  • United Kingdom
  • Exclusive Author
  • Has been a member for 1-2 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 500 and 999 users
designchemical says

For jQuery demos I’ve added a function, which checks the location.host. If this does not match the live preview site domain it will create an alert. Then obfuscate the code.

At least makes it harder to copy and you dont have the problem of alerts in the demo site.

by
by
by
by
by