How to protect license key in a Blazor Web Assembly project ?
After following the tutorials in getting it setup on a project, comes the step where one has to provide a license key:
https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly/
https://help.syncfusion.com/common/essential-studio/licensing/license-key#blazor
From what I understand, nothing is really secret in such project type as it gets downloaded to client.
There is some documentation about leveraging user secrets but it seems that it's solely for a server project:
https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-3.1&tabs=windows#access-a-secret
Any ideas on what way, if any, to protect a license key from being seen in such project?
(using Community license)
Thanks
SIGN IN To post a reply.
14 Replies
1 reply marked as answer
ZY
Zhi Yuan
October 14, 2020 01:00 AM UTC
Hi,
I happened to ask this question previously and here's Syncfusion's response to me: https://www.syncfusion.com/forums/156067/store-and-use-syncfusion-license-key-in-blazor-webassembly.
SU
Sridurgha Uthayakumaran
Syncfusion Team
October 14, 2020 02:57 PM UTC
Hi aybe,
Thanks for contacting Syncfusion support.
As we said earlier in the above mentioned forum, we would like to let you know that we currently don’t have an option to hide the license keys which is registered in the project since everything is shipped to Browser in Blazor WebAssembly and we do not have control over the hardware. We have implemented this licensing (key) validation system to avoid using our products inadvertently. Instead if you are a licensed customer you can use the licensed installer, there is no need to register the license key in your application.
Please refer the following link and download the latest web installer or offline installer for your requirement from your account.
Refer the following documentation link for the step by step installation of Syncfusion Installer.
Web Installer: https://help.syncfusion.com/common/essential-studio/installation/install-using-the-web-installer
Offline Installer: https://help.syncfusion.com/xamarin/installation-and-upgrade/install-using-the-offline-installer
If you are using the trial installer or NuGet packages from nuget.org, then you should generate and register the corresponding version and platform license key in your application
Please let us know if you need further assistance.
Regards,
Sridurgha U
Marked as answer
AY
aybe
October 15, 2020 05:00 AM UTC
Perfect, thanks for your answers!
ZY
Zhi Yuan
October 15, 2020 03:43 PM UTC
Hello,
Sorry to crash this thread as the question I have is similar to this question. Can I download versions later (e.g. 18.3.0.41) than the latest official release (i.e. 18.3.0.35)? I can't seem to find the link to do so.
Thanks!
SU
Sridurgha Uthayakumaran
Syncfusion Team
October 20, 2020 12:47 PM UTC
Hi Zhi,
We would like to let you know that we don’t have the version v18.3.0.41. And we have the below versions above v18.3.0.35 which are all weekly release and these weekly versions don’t have a separate download link in the website. They are only available as NuGet packages.
Please get back to us if you need any further assistance.
Regards,
Sridurgha U
PC
Pedro Conde
November 10, 2020 02:42 PM UTC
Good afternoon.
Does the licensed installer also works for Xamarin.Forms client without the need to registed the license key in code?
Thanks in advance,
Pedro Conde
MK
Muthukumar Kannan
Syncfusion Team
November 11, 2020 11:19 AM UTC
Hi Pedro,
Yes. License key registration code is not required, if Syncfusion Xamarin.Forms libraries or NuGet packages were used from licensed installer.
Assemblies location: C:\Program Files (x86)\Syncfusion\Essential Studio\Xamarin\18.3.0.47\Xamarin\lib
NuGet packages location: C:\Program Files (x86)\Syncfusion\Essential Studio\Xamarin\18.3.0.47\Xamarin\nuget
Please refer to the below documentation link to know more about licensing.
Regards,
Muthukumar K
RA
Ryan Allan
January 21, 2021 08:57 PM UTC
We are currently using the latest downloaded Essential Studio version from the web site (v18.4.0.30). We have come across numerous bugs and issues in this version and have tested against the latest public Nuget available (v18.4.0.35) and this version seems to fix a lot of the issues we have encountered. So, how do we go about getting a downloaded version higher than 18.4.0.30? When will the next available downloadable package be available?
MK
Muthukumar Kannan
Syncfusion Team
January 22, 2021 01:45 PM UTC
Hi Ryan,
Thanks for contacting Syncfusion support.
We have checked your reported query for upgrading the Syncfusion package to the latest from 18.4.0.30. We want to let you know that you can use the Volume 4 2020 license (18.4.0.30) to all our higher version(prefix with 18.4.* ) packages until our next volume release. Also, you can upgrade the Syncfusion packages from NuGet.org. And our upcoming Volume 4 2020 SP downloadable package will be available from the end of January 2021.
Please let us know if we misunderstood your query and if need any additional information.
Regards,
Muthukumar K
Thanks for contacting Syncfusion support.
We have checked your reported query for upgrading the Syncfusion package to the latest from 18.4.0.30. We want to let you know that you can use the Volume 4 2020 license (18.4.0.30) to all our higher version(prefix with 18.4.* ) packages until our next volume release. Also, you can upgrade the Syncfusion packages from NuGet.org. And our upcoming Volume 4 2020 SP downloadable package will be available from the end of January 2021.
Please let us know if we misunderstood your query and if need any additional information.
Regards,
Muthukumar K
MK
Muthukumar Kannan
Syncfusion Team
January 29, 2021 07:43 AM UTC
Hi Ryan,
Thanks for your patience.
We are glad to inform you that our Essential Studio 2020 Volume 4 SP release v18.4.0.39 is rolled out and is available for download under the following link.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Muthukumar K
DW
Douglas William
March 6, 2021 07:45 PM UTC
Dear support,
regarding to security of key, I would like to ask if I have one community key I can deploy my app to Google Play and Apple store for end users.
If yes and I have for example 50 final users (>5 developers) that will use the app not develop these my users will receive that message of trial or free stuff?
Or the register license is only for developments purposes?
Thanks
KJ
Kalap Johnson Peter Paulraj
Syncfusion Team
March 8, 2021 10:32 AM UTC
Hi Douglas,
Thanks for contacting Syncfusion support.
Please find below the response for your queries.
Q1) regarding to security of key, I would like to ask if I have one community key I can deploy my app to Google Play and Apple store for end users.
A1) Yes. You can develop and deploy your application with your same community license key. There are no different keys for development and deployment
Q2) If yes and I have for example 50 final users (>5 developers) that will use the app not develop these my users will receive that message of trial or free stuff?
Or the register license is only for developments purposes?
A2) There are no end user based count validation. If you’ve registered the license key properly in your application, then trial message won’t be displayed. To avoid trial license warning, you should generate and register corresponding version and platforms license key in your project before deploying your application.
Also, as we’ve already said there are no difference for registering license keys in development and production application.
Our license keys are version and platform specific. Refer the following documentation link to know more about licensing.
Refer below the documentation for license key generation and registration.
To generate the license key: https://help.syncfusion.com/common/essential-studio/licensing/license-key#how-to-generate-syncfusion-license-key
To register the license key: https://help.syncfusion.com/common/essential-studio/licensing/license-key#how-to-register-the-syncfusion-license-key
Let us know if you need further assistance on this.
Regards,
Kalap Johnson Peter P.
DW
Douglas William
March 8, 2021 02:27 PM UTC
Thanks for the clarity!
Yes it's cover all points.
Thanks to provide syncfusion community licenses!!! I as small developer really appreciate this!
Regards,
Douglas
KJ
Kalap Johnson Peter Paulraj
Syncfusion Team
March 9, 2021 05:59 AM UTC
Hi Douglas,
You are Welcome..!!!
We are glad to help. Let us know if you need further assistance.
Regards,
Kalap Johnson Peter P.
SIGN IN To post a reply.