Welcome
Login
Sign up
Home
Solutions
Forums
How can we help you today?
Enter your search term here...
Search
Login
or
Signup
to submit a new ticket
Check ticket status
Start a new topic
Discussions
Kinvey Forums
General Discussion
kinvey key and secret key security on web
Mark Thien
started a topic
about 6 years ago
Hi guys,
in order to access my kinvey account from web, I put in config.js file like below:
var config = {
kinvey : {
app : {
key : 'kid_123123123',
secret : '66a1111f62233445502833'
}
}
};
and init it in every js file like below:
var promise = Kinvey.init({
appKey : config.kinvey.app.key,
appSecret : config.kinvey.app.secret
});
if a person get my key and secret then he will be able to do CRUD from my kinvey database.
any solution to this?
Cheers,
Mark
2 Comments
Oldest First
Popular
Newest First
Sorted by
Oldest First
I
Ivan Stoyanov
said
about 6 years ago
See http://devcenter.kinvey.com/rest/guides/security#credentials
Does that answer your question?
Mark Thien
said
about 6 years ago
I downloaded Related Samples (http://devcenter.kinvey.com/html5/samples/pay-it-forward#) and see they store kinvey app key and secret in js file.
Login
or
Signup
to post a comment
More topics in
General Discussion
What is the best way to store and load hierarchies/relationships in the Data Store?
How do I create in-app payments using Kinvey?
Link users to file uploads
question about references and user permissions
Data storage limits?
Relational Data - Files
What defines an Active User?
"The app backend is under lockdown"
query doesn't show files, can't download.
Posting Code to Forum
See all 315 topics
Mark Thien
in order to access my kinvey account from web, I put in config.js file like below:
var config = {
kinvey : {
app : {
key : 'kid_123123123',
secret : '66a1111f62233445502833'
}
}
};
and init it in every js file like below:
var promise = Kinvey.init({
appKey : config.kinvey.app.key,
appSecret : config.kinvey.app.secret
});
if a person get my key and secret then he will be able to do CRUD from my kinvey database.
any solution to this?
Cheers,
Mark