Securing enviroment variables
Unanswered
Tonkinese posted this in #help-forum
TonkineseOP
So, i am having my Next.js 14 project deployed on a Hostinger's VPS .I am using .env file to store my enviroment variables , .envnis in the root directory.I was wondering what can i do to secure it from being accessed by anyone, i have no idea wether it is vulneranle or not.Its not the same as on Vercel where i give the name for the variable, and then add the actuall variable in enviroment variables tab in settings on Vercel.Any answer is appreciated .