Share via

Runtime versus accdr

Anonymous
2012-05-21T00:52:33+00:00

Hi

I am querying if anyone would know the advantages of using Runtime for the end user, versus just changing the file name from a .accdb to an .accdr.

The intent being, that the end user would only have access to the forms reports, entering data etc and not have any access to the queries/filters, tables and / or any design elements to the database so that it can't be tampered with.

thanks

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2012-05-21T17:44:05+00:00

    Don't confuse the runtime version of Access with a runtime database.

    They are different things!

    The runtime version of Access is an installed msaccess.exe crippled by the removal of most design tools. If all the user has is the (free) runtime version, then the design window buttons for forms, reports, VBA and so on are all greyed out, and they cannot even get into the mode to change the structure of things; nor can they even see your VBA code. It doesn't matter whether the database is named .accdb, .accdr,  .accde, .mdb or whatever - the program itself simply doesn't contain the code to let them change the design.

    However, if the user has a full retail or corporate version of Access installed, then they CAN get into design mode. Changing the extension to .accdr just tells retail Access to behave as if it were the runtime version (it's good for testing to make sure that you aren't preventing the user from doing legitimate work). But it does NOTHING to protect the database; the user can just rename it back to .accdb and do whatever they like. Changing the extension doesn't affect what's in the database in any way whatsoever!

    What you CAN - and should - do is to use the Make ACCDE option to "compile" the .accdb database into a .accde version. This compiles and hides all the VBA code, and turns off most of the design tools (e.g. you can't open a Form in design view). You can still design or change Queries, but not forms or reports. It's possible (using third-party tools you can find on the web) to convert a .accde back to a .accdb but it's not something most endusers will be able to do.

    I'd suggest keeping your own master copy of the frontend as a .accdb file, well backed up both onsite and offsite; make .accde files for your users, both for security and because they're usually a bit smaller and a bit faster. When they need a new feature, create and test it in your master copy and then make and distribute a new .accde. It's totally up to you (and your IT department if you have one) whether to buy each user a retail Access license and install the full program, or install just the runtime.

    It's all but impossible to TOTALLY secure the backend. If the database is to be usable at all, then it must be open for reading and writing; if a user can (say) legitimately delete or change some records, then there's no easy way to prevent them from ILLEGITIMATELY deleting or changing some other records.  If data security is a big issue, you'll need to go to SQL/Server as the backend, with data logging, hot multilevel backups, rollbacks and recoveries, and all the things DBA's get paid for. You just need to decide how much effort you need to expend for your particular situation - anything from having one shared .accdb backend (backed up both onsite and offsite at a minimum), to - well, the sky's the limit.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Anonymous
    2012-05-22T04:56:46+00:00

    Ummm... when it comes to vehicles, which is the best to get? Is a Lamborghini sports car better than a Allison-Chalmers earthmover? Depends on what you want it for!

    SQL/Server is a Microsoft product available in many flavors, from single- or few-user versions that can run under a desktop Windows system, up to enterprise-scale versions that can use terabytes of storage and hundreds of networked processors. There are many competitors in the "server" database market - Oracle, DB/2, Alpha, MySQL, on and on. It would be a major research effort (which I haven't done) to even build a list for comparison, much less to evaluate them for suitability for some particular use. So there is no one answer to your question!

    Was this answer helpful?

    0 comments No comments

11 additional answers

Sort by: Most helpful
  1. Anonymous
    2012-05-21T01:58:22+00:00

    EULA = End User License Agreement

    If the user has the full unrestricted retail instance of Access, they can (if they so desire, and have the modicum of knowledge required) just rename the .accdr back to .accdb and make whatever form, report, or query changes they like. If your backend isn't sufficiently secured, they can trash your tables too. It just depends on who your users are, and what you want to allow or prohibit them doing.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2012-05-21T01:30:43+00:00

    What is EULA?

    and why use runtime when I can just change the file extension to .accdr , will this not give me the same result?

    my question is ... if changing the extension to .accdr will give the same result, then why do I need runtime at all? 

    I'm  just trying to see what the differences are and the advantages of  both if any, as I don't know much about either and am just trying to weigh up what is the best solution.

    thanks

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2012-05-21T01:08:57+00:00

    Well, that's certainly an advantage of the runtime; another big one is the price - full retail Access costs real money but the runtime is free of charge (subject to the terms of the EULA of course).

    Was this answer helpful?

    0 comments No comments