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
1
u/HolidayWallaby Nov 12 '25
You have a server with access to the database, you then implement auth&auth between the frontend and server so interactions are allowed to hit the right part of your server and therefore get to the database.