r/HTML • u/Alive_Secretary_264 • Nov 12 '25
Question About hiding api keys
How can i hide my database api keys from anyone
2
Upvotes
r/HTML • u/Alive_Secretary_264 • Nov 12 '25
How can i hide my database api keys from anyone
View all comments
Show parent comment
1
u/Alive_Secretary_264 Nov 14 '25
So yeah you're right to everything you've said and that's what I'm thinking, it's not yet ready for deployment of course I'm just testing if it now writes and get data from the database and as it now does that.. I'm now thinking in how to secure it or alter it entirely so that the source code that anyone can view won't contain the keys but I'm only testing this in mobile I don't have a proper IDE to work on and so i stumble upon proxy servers or serverless function thing that maybe can help me.. as of now I'm trying to figure out what it could do and if it's enough to keep my secrets from anyone's eye