Results 1 to 7 of 7

Thread: [RESOLVED] Encryption

  1. #1

    Thread Starter
    Junior Member hellilyntax's Avatar
    Join Date
    Jun 2006
    Location
    Kedah, Malaysia
    Posts
    28

    Resolved [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....

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Encryption

    Quote 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.

  3. #3
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    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

  4. #4

    Thread Starter
    Junior Member hellilyntax's Avatar
    Join Date
    Jun 2006
    Location
    Kedah, Malaysia
    Posts
    28

    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.

  5. #5
    Member
    Join Date
    Jan 2006
    Location
    UK
    Posts
    61

    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

  6. #6

    Thread Starter
    Junior Member hellilyntax's Avatar
    Join Date
    Jun 2006
    Location
    Kedah, Malaysia
    Posts
    28

    Re: Encryption

    that means i dont need to encrypt the data myself right?

  7. #7
    Member
    Join Date
    Jan 2006
    Location
    UK
    Posts
    61

    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
  •  



Click Here to Expand Forum to Full Width