Ask coding questions

← Back to all posts
Connect to DB without exposing Key
bossotron13 (72)

So i dont want to use the Env hider because others cant connect, but i want people to be able to connect to the data base to retrieve a encrypted username and password then match it with their input. I dont really work with sql or html/php. Any ideas?

Spacecraft (152)

@bossotron13 Did you ever figure out a way to do hide the DB key from other users? I've been wondering the same thing.

Vandesm14 (2728)

You need to use a .env. That's the only way to do this in at the moment.