Connection String Encryption on Azure Desktop

%3CLINGO-SUB%20id%3D%22lingo-sub-1101830%22%20slang%3D%22en-US%22%3EConnection%20String%20Encryption%20on%20Azure%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1101830%22%20slang%3D%22en-US%22%3E%3CP%3EOur%20company%20is%20thinking%20of%20creating%20WPF%20applications%20to%20deploy%20on%20Azure's%20Virtual%20Desktop.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThese%20apps%20will%20connect%20to%20an%20Azure%20SQL%20database%20and%20therefore%20will%20need%20connection%20strings%20to%20access%20the%20underlying%20data.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20can%20we%20encrypt%20the%20connection%20string%20with%20the%20SQL%20database's%20login's%20credentials%3F%20Is%20the%20process%20similar%20to%20encrypting%20on%20a%20windows%20computer%3F%20I%20searched%20the%20forums%2C%20but%20did%20not%20see%20any%20links%20to%20articles%20or%20knowledge%20bases.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPS%20-%20I'm%20not%20sure%20if%20this%20is%20the%20correct%20forum%20to%20post%20this%20question%20(but%20I%20couldn't%20find%20anything%20more%20appropriate).%20If%20it%20isn't%20can%20the%20moderator%20move%20it%20to%20a%20better%20location%3F%3CBR%20%2F%3E%3CBR%20%2F%3E-Thanks%2C%3C%2FP%3E%3CP%3EJordan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1101830%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EApplication%20Development%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1102183%22%20slang%3D%22en-US%22%3ERe%3A%20Connection%20String%20Encryption%20on%20Azure%20Desktop%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1102183%22%20slang%3D%22en-US%22%3EHi%20Jordan%2C%3CBR%20%2F%3E%3CBR%20%2F%3EWindows%20Virtual%20Desktop%20is%20no%20different%20than%20hosting%20a%20Windows%20server%20VM%20on%20Azure%2C%20therefor%20the%20process%20of%20encrypting%20should%20be%20exactly%20the%20same.%20The%20only%20difference%20is%20that%20on%20WVD%20you%20can%20have%20multiple%20users%20sign%20in%20and%20work%20on%20one%20shared%20Windows%2010%20machine%20next%20to%20that%20the%20RD%20Gateway%2Fweb%2C%20RD%20brokers%2C%20broker%20SQL%20etc%20are%20managed%20as%20a%20service%20by%20Microsoft.%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Our company is thinking of creating WPF applications to deploy on Azure's Virtual Desktop.

 

These apps will connect to an Azure SQL database and therefore will need connection strings to access the underlying data. 

 

How can we encrypt the connection string with the SQL database's login's credentials? Is the process similar to encrypting on a windows computer? I searched the forums, but did not see any links to articles or knowledge bases.

 

PS - I'm not sure if this is the correct forum to post this question (but I couldn't find anything more appropriate). If it isn't can the moderator move it to a better location?

-Thanks,

Jordan

1 Reply
Hi Jordan,

Windows Virtual Desktop is no different than hosting a Windows server VM on Azure, therefor the process of encrypting should be exactly the same. The only difference is that on WVD you can have multiple users sign in and work on one shared Windows 10 machine next to that the RD Gateway/web, RD brokers, broker SQL etc are managed as a service by Microsoft.