Results 1 to 6 of 6

Thread: Encrypt/Decrypt Access 2000 .mdb file (for use with VB app)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Brossard, Québec, Canada
    Posts
    241
    I've seen many discussion going around this question without seeing one actually answering it. What I have is a VB application, using DAO to read an Access 2000 .mdb file. I would like to know how to encrypt my database files so that only my vb app can access its content.

    It's not for preventing users to do unwanted changes to the DB, it's for avoiding users to steal my DB's content (said that way to make it clear). I don't want my data to be accessed by anyone, at any cost because it contains confidential information. Since a password can be cracked, i'm not interested in that solution. Making the .mdb files invisible is an idea, but not a solution.

    Thanks for the help.

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Location
    Boulder, Colorado, USA
    Posts
    325
    What you are going to have to do is come up with an encryption/decryption algorithm. This is not an easy task esp. if you need something as secure as say blowfish. There probably is an OCX out there which will encrypt/decrypt files, but I don't know of one off hand. I think vb-world has a simple en/de crypting algorithm.
    -Shickadance

  3. #3
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Lightbulb dbEncrypt

    You can encrypt your database when you compacting the database.
    [code]
    DBEngine.CompactDatabase OldDb, NewDb, dbLangGeneral, dbEncrypt
    [/code

  4. #4
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Smile

    You can encrypt your database when you compacting the database.
    Code:
    DBEngine.CompactDatabase OldDb, NewDb, dbLangGeneral, dbEncrypt

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Brossard, Québec, Canada
    Posts
    241

    Doesn't help quite much

    I tried that, but encrypting the database won't make the data innacessible or not viewable. Have you ever triee it by yourself?

    Thanks.

  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Location
    Brossard, Québec, Canada
    Posts
    241
    Any other suggestions?

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