Is it secure to put the sdk requirement data in the codebase?
If yes, how Appwrite securing my app from unauthorized source
- example: connection to my project from source that’s not my app
To clarify it; I’m talking about app constants
What do you mean?
Yes, people can write if they build a different app
i'm talking about:
export const config = {
endpoint: 'https://cloud.appwrite.io/v1',
projectId: 'xxxx',
platform: 'com.occode.xx',
databaseId: 'xx',
storageId: 'xx',
usersCollectionId: 'xx'
}
const client = new Client()
client
.setProject(config.projectId)
.setPlatform(config.platform)
.setEndpoint(config.endpoint)
is it secure to implement this data in the codebase?
I hope anyone can help me
As long as you don't set an API key and you have permissions set properly, I think it should be fine
Recommended threads
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...