How to Encrypt Sensitive Data in Microsoft Access

preview_player
Показать описание
Sometimes in our databases we need to encrypt certain fields, like password fields (see comments for hashed pwd video) or other sensitive data. In Microsoft Access, this is also possible by using various techniques, usually by integrating with some plug ins or third party dll libraries. However, there are not many simple, easy to install solutions, and so in this episode, I'll show you how to use a few simple add-ins that I created to enable field encryption in your database, using a .net helper I wrote that you can call from MS Access. Let's go encrypt some data!]

Related Videos:
How to disable and enable the Bypass Key on your MS Access app so users cannot bypass Autoexec/Forms
Link and Relink Your Access Front-End App Using vbScript and a Table-Based Approach
How to Use vbScript to Relink Your User's MS Access Application Front-End Automatically
Use vbScript to Deploy your Access Front End, Create Shortcuts, and Check for Updates on User Login
How to Encrypt and Hash Passwords in MS Access
How to Encrypt Sensitive Data in Microsoft Access
You are watching this video now!
How to Kick Users out of Your MS Access Database
How to Get the IP Address in Microsoft Access
How to Get the Windows Username in MS Access
How to Set Basic Startup Options on Your Microsoft Access Database

This video uses concepts and the exe uses code from here. Please read it to understand which encryption we're using and how it is deployed:

Join me on Patreon!

Demo of my BZ RDP Cloaker:

Check out some tech (and support my channel!):

Want the code from this video?

Interested in transforming your career or finding your next gig?

Want my team to do a project for you? Let's get to it!

Follow me on social media:

Get Microsoft Office including Access:

Got a YouTube Channel? I use TubeBuddy, it is awesome. Give it a try:

#msaccess #encryption
Рекомендации по теме
Комментарии
Автор

This is something similar what I need in my alleyway
Need to go over this few times to understand
Thank you, please don’t close the chapter
Keep adding and very relevant for current days to keep 👹away

gerfer
Автор

This!!! This is what I wanted to learn. Thank you!

interestingamerican
Автор

Hi, great video thanks. I wonder, is data encryption / decryption and hashing possible directly in Access (without an external program)? If so, how does this work?

rufiyou
Автор

Hi Shawn. Me again. What would you recommend for hashing user passwords? I'm kinda having a hard time deciding what the best technique is, without having to install some third-party library on all my users' computers.

simonmaersk
Автор

Is there any way you can prevent that cmd window from flashing on screen during the Encrypt process? I like your app, but that cmd flash doesn't look very professional. Maybe run your code in a minimized cmd window or hidden in the background window would take care of this problem. I see you have an updated version of this with the SHA256 hash in the other video, so I guess that's the version to update instead of this one.

michaelkrailo
Автор

This is cool, thank you! This is useful for encrypting data in the database itself, but I don't think this should be used for passwords. Those should be hashed instead and never decrypted

simonmaersk
Автор

Very helpful although it would be nice if you could show how to encrypt & decrypt all txt records in a given field/table upon open/close of the frontend, i.e. sensitive data such as credit card #. Perhaps there's a better approach such as encrypt/decrypt a entire table or linking/unlinking backend tables based on user roles upon login.

b-hack
Автор

Hi Sean, thanks for the input, but I have a problem. when decrypting a text it is the same but its length is always greater than the original.
Example 12345 its length is 5 but after decryption its length is 7.
You will know what it is due to.
Thank you.

franciscocarreon
Автор

Hi Sean, I need some help. I like to store a password in a config file like you used. I want that password converted in to a cypher like you showed and i want to be able to retreive the password when needed in my access vba code. I don't know how to do this and i don't want to hardcode a password into my vba code. Can you help me? Thanks in advance!!

Pelsken