How do you avoid storing passwords in version control?

后端 未结 6 1466
醉酒成梦
醉酒成梦 2020-12-09 09:24

What strategy do you use to avoid storing passwords in version control?

Currently, I have development/test/production passwords saved in three different files and th

6条回答
  •  天命终不由人
    2020-12-09 10:20

    This doesn't work in all cases, but this is where the gloriousness of using NT AUTHORITY\NETWORK SERVICE as the identity of your services comes in. If you use this identity, you don't need to maintain a password for it -- you can just use the Computer's AD credentials in the form of DOMAINNAME\MACHINENAME$ to do your protected network and database access.

    There are, of course, some key things to watch out for -- not the least of which is that no two apps which share a security boundary are hosted like this on the same server.

提交回复
热议问题