Results 1 to 5 of 5

Thread: MS Access - no copy

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2003
    Location
    The Future - Skynet
    Posts
    1,157

    MS Access - no copy

    What is the best way to protect an MS Access database from being copied onto a usb drive or emailed home? The answer might be no possible ways but I still have to ask.
    I'll Be Back!

    T-1000

    Microsoft .Net 2005
    Microsoft Visual Basic 6
    Prefer using API

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: MS Access - no copy

    Access databases are just files, so this is a file system issue, not a database issue. How can you normally stop someone copying a file? Basically you can really only put it in a folder they don't have permission to access, but then how would your app access the database?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2003
    Location
    The Future - Skynet
    Posts
    1,157

    Re: MS Access - no copy

    Quote Originally Posted by jmcilhinney
    Basically you can really only put it in a folder they don't have permission to access, but then how would your app access the database?
    That is the million dollar question which I kind of answer myself already too.

    So, there is no connection string that can access a protected folder or any other trick that I might now know?
    I'll Be Back!

    T-1000

    Microsoft .Net 2005
    Microsoft Visual Basic 6
    Prefer using API

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: MS Access - no copy

    You can apply security measures to an Access database, like file and user passwords, that will prevent someone opening the file without authorisation, as long as they're not too determined. That won't stop people copying the file but they won't really be able to use the copy.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2003
    Location
    The Future - Skynet
    Posts
    1,157

    Re: MS Access - no copy

    thanks jmcilhinney
    I'll Be Back!

    T-1000

    Microsoft .Net 2005
    Microsoft Visual Basic 6
    Prefer using API

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