Click here to Skip to main content
15,896,557 members
Articles / Desktop Programming / MFC

Strategy to distribute secure database connection strings in an enterprise environment

Rate me:
Please Sign up or sign in to vote.
4.75/5 (11 votes)
29 Nov 20034 min read 78.7K   1.1K   30  
The article discusses a strategy to securely configure and administer a set of connection strings which can be maintained environment wise. It also talks about distributing this information securely in a huge environment to be used by authorized clients only.
using System;
using System.Windows.Forms;

namespace UseECS
{
	/// <summary>
	/// Summary description for UseECS.
	/// </summary>
	public class UseECS
	{
		public UseECS()
		{
		}
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main() 
		{
			// use -admin and -client as command line parameters
			// -client = run the test client
			// -admin = run the administration console

			int idx = Environment.CommandLine.ToLower().IndexOf("-admin");
			if ( idx == -1)
				Application.Run(new TestClientECS());
			else
				Application.Run(new ConnStrGUI());

		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Architect
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions