
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
- Sharing cookies
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
- Custom Domain Issue
i have added a custom domain about 21 hours ago, but till now there is no SSL certificate is active on it. but if i do DNS check via https://dnschecker.org/#C...
- Flutter OAuth2 Google does not return to...
When the flow starts, the browser opens, I select an account, and it keeps showing: """ Page not found The page you're looking for doesn't exist. `general_rout...
