We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

protect my JavaScript library

Thread ID:

Created:

Updated:

Platform:

Replies:

142577 Feb 9,2019 05:40 AM UTC Feb 17,2019 07:23 PM UTC Others 1
loading
Tags: Others
Charliecharles
Asked On February 9, 2019 05:40 AM UTC

Hi, all,

if I have a JavaScript library and I want to protect it by adding license or key, what is the best approach?

 I am thinking about adding a license key in the back-end and the JS library always need to ask the server for the key.

 Then, the server returns the key. If the key matches, the JS library will work. Is there a better approach?


Vadivel Natarajan [Syncfusion]
Replied On February 11, 2019 11:29 AM UTC

Hi Charliecharles,

Thanks for contacting Syncfusion support.

We have analyzed your requirement and find the below link which meets your requirement. Please refer the link for more information.

http://billpatrianakos.me/blog/2013/09/12/securing-api-keys-in-a-client-side-javascript-app/  

Regards,
Vadivel Natarajan

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;