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
- Charged after Downgrade
I downgraded from the pro plan last month, but it’s still trying to charge my card this month and my account has been restricted
- Wifi issue with Pop!_OS linux distro
Hey guys... iam facing this very peculiar trouble with my linux distro... I use Pop!_OS on my HP victus gaming laptop with nvedia 2050 graphics card.... The pro...
- Sydney Cloud Sites: App Git deployment a...
Project ID: rentwize-db The app Site fails after the build completes with a missing build archive error. Site id: app Framework: TanStack Start SSR Output dir...