Click here to Skip to main content
15,896,063 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Securing Local Files [Solved] Pin
Saul Johnson5-Sep-12 4:07
Saul Johnson5-Sep-12 4:07 
AnswerRe: Securing Local Files [Solved] Pin
Stephane Rivette At Motion4-Sep-12 2:07
Stephane Rivette At Motion4-Sep-12 2:07 
GeneralRe: Securing Local Files [Solved] Pin
Eddy Vluggen4-Sep-12 5:15
professionalEddy Vluggen4-Sep-12 5:15 
AnswerRe: Securing Local Files [Solved] Pin
BrainiacV4-Sep-12 8:30
BrainiacV4-Sep-12 8:30 
GeneralRe: Securing Local Files [Solved] Pin
Saul Johnson5-Sep-12 4:05
Saul Johnson5-Sep-12 4:05 
AnswerRe: Securing Local Files [Solved] Pin
ObiWan_MCC5-Sep-12 3:51
ObiWan_MCC5-Sep-12 3:51 
GeneralRe: Securing Local Files [Solved] Pin
ObiWan_MCC5-Sep-12 4:02
ObiWan_MCC5-Sep-12 4:02 
GeneralRe: Securing Local Files [Solved] Pin
Saul Johnson5-Sep-12 4:03
Saul Johnson5-Sep-12 4:03 
Hello,

Thank you for your answer. This is undoubtedly how I would go about authenticating passwords in any other circumstances but these, generating hashes using MD5 or (my personal preference) SHA-256. I am working with a web service from a Windows Forms application, and a password is required to work with this web service. Usually, I'd show a prompt and ask the user to input the password to authenticate when it starts, but the user requirements state that users must not need to enter any sort of authentication information in order to work with the application in the interest of ease-of-use.

What I was looking for was a way to store this username and password locally in such a way that only my application would be able to access and use them. As it seems that this isn't really possible, I've put in place stricter controls and guidelines for where and when the software can be used and used misdirection and obfuscation as suggested by previous answers to make it more difficult for these credentials to be stolen.

However, as you correctly say, the only way to really keep a password safe it to authenticate against its hash.

SixOfTheClock
A programming language is to a programmer what a fine hat is to one who is fond of fancy garden parties. Just don't try wearing any .NET language on your head. Some of them are sharp.

GeneralRe: Securing Local Files [Solved] Pin
ObiWan_MCC5-Sep-12 4:36
ObiWan_MCC5-Sep-12 4:36 
QuestionArrow keys to move an object Pin
Steven St. John1-Sep-12 11:30
Steven St. John1-Sep-12 11:30 
AnswerRe: Arrow keys to move an object Pin
ChandraRam2-Sep-12 23:57
ChandraRam2-Sep-12 23:57 
GeneralRe: Arrow keys to move an object Pin
Steven St. John3-Sep-12 3:35
Steven St. John3-Sep-12 3:35 
GeneralRe: Arrow keys to move an object Pin
ChandraRam3-Sep-12 4:00
ChandraRam3-Sep-12 4:00 
GeneralRe: Arrow keys to move an object Pin
Steven St. John3-Sep-12 7:25
Steven St. John3-Sep-12 7:25 
AnswerRe: Arrow keys to move an object Pin
Alan N3-Sep-12 6:00
Alan N3-Sep-12 6:00 
GeneralRe: Arrow keys to move an object Pin
Steven St. John3-Sep-12 7:32
Steven St. John3-Sep-12 7:32 
AnswerRe: Arrow keys to move an object Pin
Sonhospa3-Sep-12 7:14
Sonhospa3-Sep-12 7:14 
GeneralRe: Arrow keys to move an object Pin
Steven St. John3-Sep-12 7:35
Steven St. John3-Sep-12 7:35 
GeneralRe: Arrow keys to move an object Pin
Sonhospa3-Sep-12 21:30
Sonhospa3-Sep-12 21:30 
QuestionDataContext Not Updating Its Database Pin
Sonhospa31-Aug-12 23:16
Sonhospa31-Aug-12 23:16 
AnswerRe: DataContext Not Updating Its Database Pin
Sonhospa3-Sep-12 7:21
Sonhospa3-Sep-12 7:21 
QuestionToggling ON/OFF VB6 reference library in Visual Studio Pin
juno10131-Aug-12 6:27
juno10131-Aug-12 6:27 
AnswerRe: Toggling ON/OFF VB6 reference library in Visual Studio Pin
Dave Kreskowiak31-Aug-12 7:26
mveDave Kreskowiak31-Aug-12 7:26 
GeneralRe: Toggling ON/OFF VB6 reference library in Visual Studio Pin
juno10131-Aug-12 9:06
juno10131-Aug-12 9:06 
GeneralRe: Toggling ON/OFF VB6 reference library in Visual Studio Pin
Dave Kreskowiak31-Aug-12 9:26
mveDave Kreskowiak31-Aug-12 9:26 

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.