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. Image for the cookie policy date

protect my JavaScript library

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?


1 Reply

VN Vadivel Natarajan Syncfusion Team February 11, 2019 03:29 AM

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

Loader.
Live Chat Icon For mobile
Up arrow icon