Back

Are environment variables safe to use?

  • 0
  • General
  • Web
Hashim
25 Nov, 2024, 19:36

I am building a VITE react app that I will be deploying using Vercel or Netlify using their environment variables. Would it be secure to pass my ID's in the vercel's env. Wouldn't that make the ID's accessible in the frontend code?

TL;DR
Developers are concerned about the safety of using environment variables with VITE, React, Vercel, and Netlify. They worry that passing IDs in Vercel's env might make them accessible in frontend code.
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