Back

SDK as Server vs User

  • 0
  • Self Hosted
  • Web
prisj
21 Feb, 2024, 20:17

For context I'm using the node.js sdk within appwrite and need the server to have seperate permissions than just any user. Should I be using node-appwrite for server specific operations, then just 'appwrite' package for general user interactions? Or can I use just one with the API key, or will that cause security issues?

TL;DR
Use the 'appwrite' package for general user interactions and 'node-appwrite' for server-specific operations to ensure separate permissions. Using just one with the API key may lead to security issues.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more