Results 1 to 4 of 4

Thread: Restrict access to a database

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    116

    Unhappy

    Hi,
    How can I deny access to an Access database from
    outside a VB application? i.e. The database can
    only be accessed through the application.
    0101011001000010
    01101111011011100110110001101001011011100110010101110010

  2. #2
    Guest
    • Try putting a password on it (Access 97 & 2000 support this, I just don't know exactly how)
    • Try encrypting the file
    • Change the extension (.mdb) to (.noa <-NoAccess )


    First method is safest,
    Second method would involve decrypting it to a .tmp file or so to work with it then on program close encrypting it again...
    Third method is for computer-illiterates... If you'd rename it back to .mdb just a double click would open it. Also, you could open it in access as "All Files".

    Maybe there are more options, I dunno..

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    116

    Cool

    Tyhanks RobIII... I'll do the first option (put a
    password in my code)
    0101011001000010
    01101111011011100110110001101001011011100110010101110010

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    116

    Thumbs down

    Anyone knows how to provide an Access password
    thru VB code? Thanks. Password="NoFigureOut"
    0101011001000010
    01101111011011100110110001101001011011100110010101110010

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