Results 1 to 7 of 7
  1. #1
    Dave14867's Avatar
    Dave14867 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Nov 2016
    Location
    Upstate NY
    Posts
    376

    Securing files so they can't be passed from one user to another

    Hello All,



    I am sure there are plenty here that create databases for sale/use by many users. How do you make it so one user cannot just pass a file to another and use it without paying for it?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Probably the most can do is do all coding in VBA and publish as an executable. An executable is compiled so VBA code is not available to copy.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Dave14867's Avatar
    Dave14867 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Nov 2016
    Location
    Upstate NY
    Posts
    376
    June7,

    But then can't one person just pass the executable along to another?

    Dave

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Yes, same as someone can pass MS Office to me. As long as I have the license certificate I can install it on any computer. Seems used to be able to build a license certificate for an Access db but I've never gone there and don't know what's available now. See what Google gives.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    You can distribute yourapps using an installer package which requires a license key.
    Its impossible to prevent anyone copying your ACCDB /ACCDE file from another computer.
    However you can add code to your application so it requires activation before it can be used fully.
    The activation code can be tied to both the license key and a workstation.
    This means that once activated for a particular workstation, it wouldn't be available elsewhere

    Of course this has the same issue as any other application requiring activation.
    If the licensed owner changes their hard drive or workstation, they will need to reactivate
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  6. #6
    Micron is online now Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    It's nearly impossible - ask Bill.
    Identifying the workstation (such as hard drive serial number) is one way, but then what do you do where the user is using terminal services? They don't have a hard drive of their own; it's only on the server and is shared by everyone else anyway.
    How do you know the request to allow re-activation is legit because the hd was actually changed? It could just be that it's an attempt to install on a different machine. You need more than that to get closer to 100% lock down, which you never will achieve; at least not without raising the ire of IT people. You can only raise the level of protection from zero to something a bit higher. At least that's my take.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  7. #7
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    My activation procedure is based on values from users hard drive, motherboard, CPU etc.
    These create a unique set of values from which an activation ID is generated and emailed back to the client.
    I am also able to check installations against license keys.
    To the best of my knowledge my apps based on this system have not been installed 'illegally' or if they have, no attempt has been made to reactivate them

    So far I've never been asked to reactivate for a different PC but if I was my inclination would be to authorise that.
    Otherwise you would alienate your customers.
    Microsoft have exactly the same policy. Reactivation via automated telephone system.
    It takes several minutes to do but in my experience but they accept your answers and reauthorize the apps

    Its MUCH easier to distribute apps with a site license allowing unlimited installations
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 07-20-2018, 10:15 AM
  2. Replies: 4
    Last Post: 07-11-2015, 12:54 PM
  3. Replies: 2
    Last Post: 03-07-2015, 01:58 AM
  4. User Prompt for multiple Files
    By ratherbgolfing in forum Programming
    Replies: 1
    Last Post: 01-31-2012, 03:38 PM
  5. User importing of image files
    By avarusbrightfyre in forum Import/Export Data
    Replies: 1
    Last Post: 10-28-2011, 03:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums