|
-
Aug 2nd, 2006, 02:51 AM
#1
Thread Starter
Junior Member
[RESOLVED] Encryption
Hi guys...
i really need some advice on this one...
i create a vb program to update my SQL Server on my hosting company
which will update directly from data on my local pc to the server.
my worry is, the data isnt encrypted. i really dont know what format does it send...is tha plain text? if its a plain text, somebody may be able to read it right?
i guess maybe i have to encrypt the data before submit through the net and decrypt it before store it in SQL Server.
my question is, on local side, i can trigger all the data to be encrypted before submission but how to decrypt it when it reach SQL Server?
do i have to create a decrypt program at server side?
can anyone suggest me anywhere to find resource or components for encryption. i never done this before and dunno how things work....
-
Aug 2nd, 2006, 06:00 AM
#2
Re: Encryption
 Originally Posted by hellilyntax
can anyone suggest me anywhere to find resource or components for encryption. i never done this before and dunno how things work....
Look in our VB6 codebank. There are examples of encryption and decryption there.
-
Aug 2nd, 2006, 06:18 AM
#3
Re: Encryption
probably you could leave it encrypted on the server an decode it on any client machines as they use, other you still send unencrypted every time they access the data
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Aug 3rd, 2006, 02:32 AM
#4
Thread Starter
Junior Member
Re: Encryption
does it will slow down the page when viewing?
but, if its only milisecond, it doesnt matter...
im afraid it will took longer...
is there any way to decrypt before store in database?
Last edited by hellilyntax; Aug 3rd, 2006 at 02:48 AM.
-
Aug 3rd, 2006, 09:36 AM
#5
Member
Re: Encryption
Hi
If you need to encrypt on the journey between PC and server, I'd suggest you look at IPSec. You can configure security by just enabling IPSec policies.
http://www.microsoft.com/technet/its...c/default.mspx
Also, SSL can be enabled through the network libraries in SQL Server.
http://support.microsoft.com/default.aspx?scid=276553
Securing data at the network protocol level is probably your best option, but you'll have to work with the sysadmin to get it implemented.
Cheers
-
Aug 3rd, 2006, 11:21 AM
#6
Thread Starter
Junior Member
Re: Encryption
that means i dont need to encrypt the data myself right?
-
Aug 6th, 2006, 12:02 PM
#7
Member
Re: Encryption
That's right
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|