
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
- CSV Import Shows Success but Data Not Ap...
I tried importing a CSV file into my PRODUCTS collection. The dashboard shows the message “Import to PRODUCTS completed successfully,” but no data appears in th...
- Console create row ui not passing ID.uni...
I'm getting an error saying the id is already used but it should be created with ID.unique() it doesn't seem to be reading the row ID field at all. I can't get ...
- [FEATURE] Better usage analytics for app...
Recently, i've gotten **73** emails from appwrite regarding excesive GBHours usage. I've almost hit the limit of 1000 and it is really hard to track down which ...
