Click here to Skip to main content
16,016,024 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to save image in access Pin
Tiger Group23-Jun-06 0:04
Tiger Group23-Jun-06 0:04 
Questionhow to filter data Pin
areon2522-Jun-06 14:01
areon2522-Jun-06 14:01 
AnswerRe: how to filter data Pin
Mekong River22-Jun-06 15:33
Mekong River22-Jun-06 15:33 
Questionhow to edit the database.. Pin
areon2522-Jun-06 13:58
areon2522-Jun-06 13:58 
AnswerRe: how to edit the database.. Pin
Mekong River22-Jun-06 15:36
Mekong River22-Jun-06 15:36 
Questionsending data from VB to another open program Pin
maxious2222-Jun-06 5:19
maxious2222-Jun-06 5:19 
AnswerRe: sending data from VB to another open program Pin
MarchJ30-Jun-06 12:21
MarchJ30-Jun-06 12:21 
QuestionSecuring a SQL Connection string [modified] Pin
Marcus J. Smith22-Jun-06 3:57
professionalMarcus J. Smith22-Jun-06 3:57 
I am writing a Windows app that is specific to a user so we will be connecting to a SQL Server database. I am having the hardest time finding what to do with a connection string in this circumstance.

I can encrypt the string and store it in the app.config, I already am doing that but I have to store the key somewhere that I can get it back out. I know that storing straight strings in an assembly is risky since it doesnt take much in order to see them, so what can I do in this situation where this app will be installed on various machines?

So to ask a direct question, how can I store the connection string where I can get to it but dont have to store an obvious string in the assembly? If I have it installed into the registry, it is still straight text in my install package, if I encrypt it then the key is still straight text in my assembly, and Ive read some articles about DPAPI but that doesnt sound like exactly what Im looking for.

Please help,
Cleako
AnswerRe: Securing a SQL Connection string Pin
mikanu22-Jun-06 5:42
mikanu22-Jun-06 5:42 
GeneralRe: Securing a SQL Connection string Pin
Marcus J. Smith22-Jun-06 7:35
professionalMarcus J. Smith22-Jun-06 7:35 
QuestionHTTPPost passing in username and password Pin
J Liang22-Jun-06 3:39
J Liang22-Jun-06 3:39 
QuestionFree Refactor! for VB Pin
Kevin McFarlane22-Jun-06 3:16
Kevin McFarlane22-Jun-06 3:16 
Questionproblem playing .wmv files Pin
seva0412197322-Jun-06 1:54
seva0412197322-Jun-06 1:54 
Questionconfig File Pin
Piwe22-Jun-06 0:29
Piwe22-Jun-06 0:29 
AnswerRe: config File Pin
Socheat.Net23-Jun-06 17:26
Socheat.Net23-Jun-06 17:26 
QuestionCancel command Pin
angelagke21-Jun-06 23:22
angelagke21-Jun-06 23:22 
AnswerRe: Cancel command Pin
Dave Kreskowiak22-Jun-06 8:17
mveDave Kreskowiak22-Jun-06 8:17 
QuestionHow to know if the image is valid Pin
mysterious3rd21-Jun-06 22:22
mysterious3rd21-Jun-06 22:22 
AnswerRe: How to know if the image is valid Pin
mikanu22-Jun-06 5:48
mikanu22-Jun-06 5:48 
QuestionMAPI Pin
eKuzu21-Jun-06 21:58
eKuzu21-Jun-06 21:58 
Questionread a wav file and write buffer into anothet wav file Pin
sihotamarpal21-Jun-06 20:54
sihotamarpal21-Jun-06 20:54 
QuestionRunning VB Application from CD Pin
abhaysurve21-Jun-06 20:36
abhaysurve21-Jun-06 20:36 
AnswerRe: Running VB Application from CD Pin
Dave Kreskowiak22-Jun-06 1:23
mveDave Kreskowiak22-Jun-06 1:23 
QuestionWindows service Pin
Rsekaran21-Jun-06 19:08
Rsekaran21-Jun-06 19:08 
Questionoop Pin
md_refay21-Jun-06 12:06
md_refay21-Jun-06 12:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.