I've an ASP.NET MVC
application that got some Web.config
configurations:
- one for local test (i.e. Debug, which have connection strings with server and Windows Authentication parameters) ;
- one for the production (i.e. Release, containing connection strings with server, user and password for the remote
SQL server
);
Now, when I commit the project on GitHub
, I realize that basically (being a public repo) it become visible to everyone the server, user and password for my remote db (I would say 'doh...).
How do you manage this? I would publish it on my git
repo (since it got some custom "release" settings), but at the same time hide my private data on a public repository.