Click here to Skip to main content
15,889,772 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Securing application password Pin
David Mujica5-Oct-12 3:11
David Mujica5-Oct-12 3:11 
AnswerRe: Securing application password Pin
Dominick Marciano5-Oct-12 9:58
professionalDominick Marciano5-Oct-12 9:58 
GeneralRe: Securing application password Pin
Richard MacCutchan5-Oct-12 22:40
mveRichard MacCutchan5-Oct-12 22:40 
AnswerRe: Securing application password Pin
Matty2211-Oct-12 17:29
Matty2211-Oct-12 17:29 
GeneralRe: Securing application password Pin
Dominick Marciano11-Oct-12 18:51
professionalDominick Marciano11-Oct-12 18:51 
GeneralRe: Securing application password Pin
Matty2211-Oct-12 19:05
Matty2211-Oct-12 19:05 
GeneralRe: Securing application password Pin
Matty2211-Oct-12 19:11
Matty2211-Oct-12 19:11 
GeneralRe: Securing application password Pin
Dominick Marciano12-Oct-12 9:28
professionalDominick Marciano12-Oct-12 9:28 
Matty22 wrote:
only the server should make use of EncryptionKeyShared


Now I'm a little lost on how I could implement this. Currently the server is just housing the database with customer information. Each employee will have a computer at their desk which contains the application. When they log in, their password is hashed and compared against the saved hash in on of the tables.

Once they are logged in they will be able to look up records by typing in say a project number. This information will be retrieved from the database either by inline SQL statements or by stored procedures. Either way, if a column has encrypted data in it, it will be transmitted from the database server to the employees application and then be decrypted by the employee's application. For this to happen, the employee's application will need to make use of the EncryptionKeyShared.

The only way to make sure that only the server is making use of the EncryptionKeyShared is to write a server application, or service, that would accept request from the employee's application, retrieve the requested database application, decrypt the necessary columns, and finally transmit the data to the employee's application.

Two complications I see with this is that 1. a server application needs to be created to handle the incoming request from all the employee's computers and synchronize them so there isn't any conflict between data request or race conditions and 2. while the database information is being sent from the database server to the employee's computer the information is not encrypted.

If the database is on a local server then Item 2 may not be much of an issue, but if it is decided to keep the database server off-site, then it seems like have the data encrypted while it is being transmitted from the server to the employee's computer is a much better option then having it in plain text (even if it is going over a HTTPS connection).

Still, Item 1 still make the whole application more complicated; unless I'm missing something where a server application/service doesn't need to be created to implement the EncryptionKeyShared as you have described.
GeneralRe: Securing application password Pin
Matty2212-Oct-12 13:53
Matty2212-Oct-12 13:53 
GeneralRe: Securing application password Pin
Dominick Marciano12-Oct-12 18:59
professionalDominick Marciano12-Oct-12 18:59 
QuestionVB6 Project - Printing Press Management System Pin
Mahesh KL3-Oct-12 5:58
Mahesh KL3-Oct-12 5:58 
AnswerRe: VB6 Project - Printing Press Management System Pin
Dave Kreskowiak3-Oct-12 13:39
mveDave Kreskowiak3-Oct-12 13:39 
AnswerRe: VB6 Project - Printing Press Management System Pin
Eddy Vluggen3-Oct-12 22:49
professionalEddy Vluggen3-Oct-12 22:49 
SuggestionRe: VB6 Project - Printing Press Management System Pin
Joan M4-Oct-12 0:47
professionalJoan M4-Oct-12 0:47 
QuestionWorking from scratch based on created application Pin
Herboren3-Oct-12 5:49
Herboren3-Oct-12 5:49 
AnswerRe: Working from scratch based on created application Pin
Eddy Vluggen3-Oct-12 22:46
professionalEddy Vluggen3-Oct-12 22:46 
AnswerRe: Working from scratch based on created application Pin
Dominick Marciano11-Oct-12 19:02
professionalDominick Marciano11-Oct-12 19:02 
QuestionHow may I add a MDITabControl to my project (VB2008) Pin
Member 16752941-Oct-12 4:56
Member 16752941-Oct-12 4:56 
AnswerRe: How may I add a MDITabControl to my project (VB2008) Pin
Eddy Vluggen1-Oct-12 5:14
professionalEddy Vluggen1-Oct-12 5:14 
QuestionLOAD CSV FILES TO VB 8 Pin
memas6328-Sep-12 6:32
memas6328-Sep-12 6:32 
AnswerRe: LOAD CSV FILES TO VB 8 Pin
Dave Kreskowiak28-Sep-12 7:03
mveDave Kreskowiak28-Sep-12 7:03 
QuestionSOAP service responding with partial data Pin
loctrice28-Sep-12 5:17
professionalloctrice28-Sep-12 5:17 
AnswerRe: SOAP service responding with partial data Pin
Dave Kreskowiak28-Sep-12 7:01
mveDave Kreskowiak28-Sep-12 7:01 
GeneralRe: SOAP service responding with partial data Pin
loctrice28-Sep-12 7:03
professionalloctrice28-Sep-12 7:03 
GeneralRe: SOAP service responding with partial data Pin
Dave Kreskowiak28-Sep-12 7:14
mveDave Kreskowiak28-Sep-12 7:14 

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.