Click here to Skip to main content
16,004,991 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Developing and Consuming WebServices Public Events on Windows Forms Applications [modified] Pin
Dave Kreskowiak16-Nov-08 12:06
mveDave Kreskowiak16-Nov-08 12:06 
GeneralRe: Developing and Consuming WebServices Public Events on Windows Forms Applications Pin
Ernande Alledi Junior16-Nov-08 12:13
Ernande Alledi Junior16-Nov-08 12:13 
QuestionOverride Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior15-Nov-08 22:25
Ernande Alledi Junior15-Nov-08 22:25 
AnswerRe: Override Database Connection Class to Implement Custom Cryptography Pin
Colin Angus Mackay16-Nov-08 1:25
Colin Angus Mackay16-Nov-08 1:25 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior16-Nov-08 9:03
Ernande Alledi Junior16-Nov-08 9:03 
AnswerRe: Override Database Connection Class to Implement Custom Cryptography Pin
Wendelius16-Nov-08 3:20
mentorWendelius16-Nov-08 3:20 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior16-Nov-08 9:24
Ernande Alledi Junior16-Nov-08 9:24 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Wendelius16-Nov-08 9:40
mentorWendelius16-Nov-08 9:40 
I'm having a hard time to undertstand what you're after.

If you want to communicate securely with the database server, almost all of the database systems support that (as I posted the ink regarding SQL Server)

If you want to store the data encrypted, some of the database systems support also that (for example both SQL Server and Oracle). The idea is that if you have sufficient priviliges, you'll see the actual data regardless what tool you use.

If you want to encrypt the data so that it cannot be seen anywhere but in your program, you'll encrypt the data before you send it to the database. The simpliest way could by using classes that are inherited from the actual Parameter classes (like SqlParameter). Whenever the value is set in your program, you encrypt it and when the value is retrieved, you decrypt it. This would however have a downside not seeing the data correctly in the database (using for example Enterprise Manager etc) even if you have sufficient privileges.

But if I understood you correctly, inheriting parameter and adding logic to it could be a starting point. However, I don't think you can do this so that it's usable for all databases since every database has different classes (SQL Server has SqlCOnnection, SqlParameter etc, Oracle has OracleConnection, OracleParameter etc, ODBC has OdbcConnection, OdbcParameter and so on)

The need to optimize rises from a bad design.

My articles[^]

GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior16-Nov-08 10:14
Ernande Alledi Junior16-Nov-08 10:14 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior16-Nov-08 10:48
Ernande Alledi Junior16-Nov-08 10:48 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Wendelius16-Nov-08 10:58
mentorWendelius16-Nov-08 10:58 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior16-Nov-08 11:16
Ernande Alledi Junior16-Nov-08 11:16 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Wendelius16-Nov-08 11:19
mentorWendelius16-Nov-08 11:19 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior16-Nov-08 11:57
Ernande Alledi Junior16-Nov-08 11:57 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Wendelius16-Nov-08 12:33
mentorWendelius16-Nov-08 12:33 
AnswerRe: Override Database Connection Class to Implement Custom Cryptography Pin
Dave Kreskowiak16-Nov-08 4:01
mveDave Kreskowiak16-Nov-08 4:01 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior16-Nov-08 9:27
Ernande Alledi Junior16-Nov-08 9:27 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Dave Kreskowiak16-Nov-08 9:36
mveDave Kreskowiak16-Nov-08 9:36 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior16-Nov-08 9:41
Ernande Alledi Junior16-Nov-08 9:41 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Colin Angus Mackay16-Nov-08 11:06
Colin Angus Mackay16-Nov-08 11:06 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior16-Nov-08 11:14
Ernande Alledi Junior16-Nov-08 11:14 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Colin Angus Mackay16-Nov-08 11:32
Colin Angus Mackay16-Nov-08 11:32 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Ernande Alledi Junior16-Nov-08 11:42
Ernande Alledi Junior16-Nov-08 11:42 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Colin Angus Mackay16-Nov-08 12:07
Colin Angus Mackay16-Nov-08 12:07 
GeneralRe: Override Database Connection Class to Implement Custom Cryptography Pin
Dave Kreskowiak16-Nov-08 12:10
mveDave Kreskowiak16-Nov-08 12:10 

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.