Click here to Skip to main content
15,895,462 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: TreeView Find Starting from Some Child Node Pin
TnTinMn13-May-13 15:13
TnTinMn13-May-13 15:13 
GeneralRe: TreeView Find Starting from Some Child Node Pin
treddie13-May-13 18:24
treddie13-May-13 18:24 
GeneralRe: TreeView Find Starting from Some Child Node Pin
Eddy Vluggen14-May-13 9:10
professionalEddy Vluggen14-May-13 9:10 
GeneralRe: TreeView Find Starting from Some Child Node Pin
treddie14-May-13 11:53
treddie14-May-13 11:53 
QuestionStore sha passphrase in code Pin
frankelman11-May-13 2:33
frankelman11-May-13 2:33 
AnswerRe: Store sha passphrase in code Pin
Garth J Lancaster11-May-13 2:54
professionalGarth J Lancaster11-May-13 2:54 
GeneralRe: Store sha passphrase in code Pin
frankelman11-May-13 8:01
frankelman11-May-13 8:01 
GeneralRe: Store sha passphrase in code Pin
Garth J Lancaster11-May-13 17:16
professionalGarth J Lancaster11-May-13 17:16 
frankelman wrote:
SQL database


what flavour DB are you using ?

frankelman wrote:
I thought that I could do this via encryption


yes you can, but some databases have build in column encryption which could make life easier

frankelman wrote:
So how and where is the best option to store the passphrase


there's never a fool-proof way to do this - eventually, something is going to have to get the passphrase from somewhere and use it to decrypt the data, which is an exposure risk - depending on what your SQL provider supplies, you could use an algorithm written in plsql/an external function/? that generates a machine-id to use as a secret/passphrase for example - then you could do something like

insert into table(x,y,z) values (x,y,encrypt(z,getpassphrase));

where getpassphrase is the plsql function that knows how to get or build the passphrase

Or, have a control table and store the passphrase base64 encoded or simply ceasar ciphered so its not obvious - we dont know your situation, so saying what the risks are and how to mitigate against them is hard

'g'
GeneralRe: Store sha passphrase in code Pin
frankelman12-May-13 2:22
frankelman12-May-13 2:22 
QuestionConverting a string into a method Pin
treddie10-May-13 20:54
treddie10-May-13 20:54 
AnswerRe: Converting a string into a method Pin
NeverJustHere11-May-13 0:04
NeverJustHere11-May-13 0:04 
GeneralRe: Converting a string into a method Pin
treddie11-May-13 17:05
treddie11-May-13 17:05 
GeneralRe: Converting a string into a method Pin
Dave Kreskowiak11-May-13 19:18
mveDave Kreskowiak11-May-13 19:18 
GeneralRe: Converting a string into a method Pin
treddie11-May-13 21:36
treddie11-May-13 21:36 
GeneralRe: Converting a string into a method Pin
Dave Kreskowiak12-May-13 4:55
mveDave Kreskowiak12-May-13 4:55 
GeneralRe: Converting a string into a method Pin
treddie13-May-13 11:13
treddie13-May-13 11:13 
GeneralRe: Converting a string into a method Pin
Dave Kreskowiak13-May-13 12:18
mveDave Kreskowiak13-May-13 12:18 
GeneralRe: Converting a string into a method Pin
treddie13-May-13 13:06
treddie13-May-13 13:06 
GeneralRe: Converting a string into a method Pin
Dave Kreskowiak13-May-13 18:26
mveDave Kreskowiak13-May-13 18:26 
GeneralRe: Converting a string into a method Pin
treddie14-May-13 19:34
treddie14-May-13 19:34 
GeneralRe: Converting a string into a method Pin
treddie11-May-13 21:42
treddie11-May-13 21:42 
AnswerRe: Converting a string into a method Pin
dusty_dex11-May-13 0:30
dusty_dex11-May-13 0:30 
GeneralRe: Converting a string into a method Pin
treddie11-May-13 17:07
treddie11-May-13 17:07 
GeneralRe: Converting a string into a method Pin
dusty_dex12-May-13 0:01
dusty_dex12-May-13 0:01 
GeneralRe: Converting a string into a method Pin
treddie12-May-13 0:44
treddie12-May-13 0:44 

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.