Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Hiding Source Code in Access

Posted on 1997-08-06
13
Medium Priority
?
275 Views
Last Modified: 2012-06-21
Is there a way to hide your source code in access ie the module file so that the .MDB file can be distributed or is there any utility that will encrypt your source code so that is not readable.
0
Comment
Question by:pcorreya
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
  • +2
13 Comments
 

Expert Comment

by:baskomurcu
ID: 1955519
If you are using Access97 you may convert your MDB files into MDE files. This conversion compiles all modules, removes all editable source code, and compacts the destination database.
Be sure to save a copy of your original database (in MDB format). If you need to modify the design of forms, reports, or modules in your database, you must open the original database, modify it, and then save it as an MDE file again.

Ali Baskomurcu.
0
 
LVL 1

Author Comment

by:pcorreya
ID: 1955520
Sorry, I should have made it clear that I was using Access 2.0
0
 

Expert Comment

by:baskomurcu
ID: 1955521
As far as I know this is not possible in Access version 2.0. You can only encrypt a database, which compacts the database file and makes it indecipherable by a utility program or word processor.

Ali Baskomurcu.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Expert Comment

by:peter_vc
ID: 1955522
Isn't there some sort of compiler for Access 2.0 in the Access Developers TookKit?  I'll look into this.

0
 
LVL 1

Author Comment

by:pcorreya
ID: 1955523
Is there a third party utility available. Because I have seen a Access 2.0 database that had the source code encrypted.
0
 
LVL 4

Expert Comment

by:ozphil
ID: 1955524
Providing security in Access 2 is an art form which is very poorly documented.

I developed a 13 point method  to do this, it works everytime and nonone can look at or modify my Access code, form and report design and code, macro code, query design.

By following the procedure I have documented step by step you can achieve the source code encryption that you find in commercial Access2 packages.

The procedure is in the very difficult class and is worth 200 points.




0
 

Expert Comment

by:kjkapas
ID: 1955525
Create a run-time application. Use MSarn200.exe
0
 
LVL 4

Accepted Solution

by:
ozphil earned 400 total points
ID: 1955526
This is blood, sweat and tears stuff, not available from anywhere except (until now) here.

1. Create the mda FIRST ( a copy of system.mda) with Workgroup Administrator with PIN = app&pwd
Optional: Make MDA swicther icon (utility to be supplied) for convenience
3. Open Access linked to new mda
4. Open MDB to be secured
5. Create <superusers> group, with PIN = app&pwd
6. Create <superuser> user, with PIN = app&pwd
7. Make <superuser> a member of Admins, users and <superusers>
8. Make password for Admin, quit Access, and reenter as <superuser>
9. Create new MDB and import database from admin to <superuser>
10. Grant all rights to <superusers> group
11. Grant user only privileges to users group
12. Remove admins group from Admin User
13. Assign password to currently logged in <superuser>
14. Dont forget to record pins and passwords
0
 
LVL 1

Author Comment

by:pcorreya
ID: 1955527
Ozphil
thanks for you help. I have a question, what do you mean by
PIN=app&pwd
0
 
LVL 4

Expert Comment

by:ozphil
ID: 1955528
make up a PIN password that you can remember, such as application and your favorite password.
ie app&pwd, where & means concatenation. Or just a password would do. Its just personal preference

0
 
LVL 4

Expert Comment

by:ozphil
ID: 1955529
In my answer i mentioned an MDA switcher utility.

This makes switching between protected MDBs a breeze.

It is chg_mda.exe, from Integrated Office Solutions Inc.


0
 
LVL 4

Expert Comment

by:ozphil
ID: 1955530
Could you please grade this pcorreya.
0
 
LVL 1

Author Comment

by:pcorreya
ID: 1955531
Thanks, I shall try it out and let you know.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question