Score:0

Where do I store web server login credentials?

sv flag

I am building a web server that will accept requests from mobile devices and route to 2 different SQL Server instances. For extra security, I want the mobile devices to have to log in twice - log in to the web server and then log in to SQL Server.

If I'm using ExpressJS (with Typescript), where/how would I store the web server logins? Would I use some npm package or something?

This web server might be hosted on Azure - would Azure have a way for me to create a database to store web server logins?

joeqwerty avatar
cv flag
**I want the mobile devices to have to log in twice - log in to the web server and then log in to SQL Server** - That sounds like a good way to alienate and lose users/customers. The burden of securing your website should fall on you, not be passed on to your users as extra hoops to jump through.
TheMortiestMorty avatar
sv flag
@joeqwerty this project isn't customer-facing
ng flag
You still have customers, even if they are only internal, and this will annoy them
TheMortiestMorty avatar
sv flag
@SamCogan there are specific reasons why this must happen but they aren't relevant to the question. Please assume I'm ok with annoying my users
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.