-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[data grid] What if my license key gets exposed to public ? #12308
Comments
Hey @Ankur-Marwaha we typically recommend to just hard code the license key into git, but if you need to make this secure you can just use secrets. We do state that in this section of the docs as well. Let us know if you have any additional questions. |
First of all, I am not using Next. but pure client side with React. Secondly, by hard coding into git (Did you mean adding it through any component(client side js file) inside the src folder?) Thirdly, I still did not understand if someone gets hold of the key. (which is very easy on the client side). |
I guess when you minimize your code it will be kind of hidden, but thats as far as "securing" the license goes on a simple react project. Our license system is built to be open, since we do not perform any network requests to check them. In order to accomplish this we need an open model for it. |
If you have any additional questions please feel free to reach out again or, if related, reopen this issue! Thanks! 🙇🏼 |
How did we do @Ankur-Marwaha? |
The problem in depth
The way you suggest to install the key here :
https://mui.com/x/introduction/licensing/#license-key-installation
Will expose the key to public(any user using my site) ?
How do you suggest to make the key secure... ?
Search keywords: security, key stolen
Order ID: 85146
The text was updated successfully, but these errors were encountered: