Access 2007-2016
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   News   Tips   Glossary   Templates   Forums   Help   Logon   Order   Contact Us  
 

News      User Comments     History     Notify Me

6/13/2012 1:45:41 AM
Access Data Encryption Seminar
By Richard Rost   Richard Rost on Facebook Richard Rost on Twitter Richard Rost on Google Plus Richard Rost on LinkedIn Email Richard Rost

 
Access is a great database program, however one of the problems with it is that you can't really secure your data very well. Unless you have a database server (like Microsoft SQL Server) this is a problem for sensitive data. You can lock up your forms, reports, and VBA code (and I show you how in my Security Seminar), but the data is still out there unprotected.

In this seminar, I teach you how to lock down the data in your tables so that nobody can see your private information unless they're allowed to. Scramble & encrypt sensitive data to keep it from prying eyes. This is a good solution for securing data without the need for an expensive database server platform. You'll learn how to:

1. Scramble data in your tables to hide sensitive information
2. Convert text characters to their ASCII equivalent values and back
3. Perform mathematical obfuscation on your data
4. Control access to the form that handles the encryption / decryption

Click here for more information on the ACCESS DATA ENCRYPTION SEMINAR.

Permanent Link
Course Link: Access Data Encryption Seminar
Keywords: access data encryption scramble ascii asc chr
Page Tag: whatsnew
Post Reply

Decode data Comment from James Gray @ 4/23/2013
Rick,

Will queries and functions that depend on data in encryted tables be able to use this data or will it have to be decdoded before using it?


Reply from Richard Rost:

You'll have to decode the data before ANYTHING can use it, which is why you need to take specific care to decode each record as you load it into a form. It's not a perfect solution, but it's the best solution available for JUST Access.
Show Just This Thread        Post Reply
Comment from shams Momin @ 7/23/2012
Hi Richard I am trying to bulid Encrypt some field in my table on my form when i hit encrypt button i get erro Variable not defineed I removed Option Explicit from my code still i did not get my result I got fiel is text and memo field.


Reply from Richard Rost:

Shams, without seeing your code I can't tell you what's wrong. Try taking it a step back. Use Msgbox or debug.print statements to look at your variables each step of the way.
Show Just This Thread        Post Reply
Access Data Encryption Seminar Comment from Deon Riley @ 6/27/2012
Hi Richard,

Thanks for the advice and I shall give it a go.

Cheers,

Deon
Show Just This Thread        Post Reply
Encrypt or Decrypt a Bunch of Records Comment from Deon R @ 6/26/2012
Hi Richard,

I trust you are well.

I've just worked through this seminar and built the sample database. Fab! Most enjoyable. I alse made the Encryption Module (Public function global); made an Asset Register form with a lot more values and encrypted quite a few fields. Had to include an On Error Resume Next 'handler' in  the code and it works just fine. My question as follows: how could I set up a continuous form to display all the de-encrypted data for a report printout and then encrypt all the records in one go. I've tried this and the form only shows one record. I know I'm still a novice' Access student but if this is possible, I'm sure there must be more of us out there that would love to know how to do this.

Yes we would love to see an add on lesson with PASSWORD encryption etc.

The more the better I say.

Cheers for now Richard and kindest regards,

Deon


Reply from Richard Rost:

Deon, I'm glad you enjoyed the seminar.

How about an UPDATE QUERY. This might actually work faster (and better) for you. Run the update query with your decryption function, generate your printout, then make sure you run another update query to delete all of the decrypted field data. Three buttons on a form would work perfectly for this.

The only problem is that your data is potentially exposed WHILE you're running the printout (between update queries). If you're THAT concerned about security, you could run a Make Table Query and drop it to a temporary table in your local database (assuming you have split front- and back-ends).

Hope this points you in the right direction.
Show Just This Thread        Post Reply
Comment from Richard @ 6/13/2012
There is a TON more you could do with this concept. For example, in one of my databases, instead of using a set of 2 keys to encrypt the database, I actually use a whole PASSWORD so that the data gets changed based on a rotating list of values (the ASCII values of the letters in the password). It makes it VERY difficult, if not impossible, for anyone to decrypt. If anyone wants to see this, let me know. If enough people post here, I'll make an add-on video.
Show Just This Thread        Post Reply
Comment from Richard @ 6/13/2012
My sample database has been uploaded to the Student Database Folder. You can grab a copy if you don't want to type in all of my code, although I do recommend you TYPE IN THE CODE as I build it... you'll learn better that way. The file is password protected. As a reminder, you can find the password by logging on to your account and looking at your course listing.
Show Just This Thread        Post Reply
Comment from Rick @ 6/13/2012
Now that you're finished with this class, please take a few short minutes to complete our STUDENT SURVEY and let us know what you thought of the lessons!
Show Just This Thread        Post Reply
Comment from Richard @ 6/12/2012
Now that you're finished with this seminar, make sure to check out my ACCESS SPLIT DATABASE SECURITY SEMINAR and ACCESS SECURITY SEMINAR for even MORE ways to protect your Access databases.
Show Just This Thread        Post Reply

Add Your Comments or Subscribe
 
If you just want to subscribe to get email updates when the News is updated, then enter your name and email address and check the Notify Me box below. If you would optionally like to add your comments below to be posted, they are welcome.
 
  Your Name:  Required
  Your Email:  NOT Public
  Subject:
  Comments:

 

Sorry about this step. It's just to keep the spam bots away:
  Verify: What is 8+2:
  
  Notify me when the News is updated.
  Remember Me for my next comments
  
 
 
Please do not use this form for Customer Service inquiries! If you have questions about your account, shipping info, courses you've ordered, need passwords, etc. please use the Customer Service Center instead.

I value your comments. They will be displayed on this page (above). Your name will be displayed, but your email address will not be.
As always, I promise to never give away your personal information to anyone else, ever.

NOTE: If you don't leave your name and email address, DON'T expect a reply. I can't promise a personal reply to everyone who posts here. I TRY my best, but I cannot guarantee it. If you don't leave your real name and email address, I won't even bother. I usually just hit DELETE. -Richard

 

 

You may want to read these articles from the 599CD News:

8/25/2018NEW: Access Dev 9, 10, 11
8/25/2018Microsoft Access Developer 11
8/25/2018Microsoft Access Developer 10
8/25/2018Microsoft Access Developer 9
8/23/2018Access Dev 11 is ONLINE
8/17/2018Access Dev 10 is ONLINE
8/15/2018Access Tip: Search Form
8/15/2018Access Tip: Locked v. Enabled
8/15/2018Access Dev 9 is ONLINE
7/31/2018Microsoft Access Developer 8
 

Learn
 
Accessindex
Excelindex
Wordindex
Windowsindex
PowerPointindex
Photoshopindex
Visual Basicindex
ASPindex
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Free Upgrades
Insider Circle
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Articles
Search Our Site
Waiting List
Production Schedule
Collapse Menus
Help
 
Live Chat
Customer Support
WalkThru Tutorials
Troubleshooting
FAQs
TechHelp
Consulting Services
About Us
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
MYOLP Memberships
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Gift CDs
Contact
 
Live Chat
General Info
Support Policy
Contact Form
Email Us
Mailing Address
Phone Number
Fax Number
Course Survey
Facebook    Twitter

Google Plus    LinkedIn

Blog RSS Feed    YouTube Channel
Richard Rost Microsoft MVP