Prevent manually changing excel file extension in windows explorer

MrC54

New Member
Joined
Dec 6, 2021
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
Hey all,

New to the group. I found the code to prevent saving of my file to anything other than xlsb, but how do you stop someone from changing it manually in windows explorer?

Background info...trying to stop a smarty pants from hacking my password protected file. One trick is to change the extension to zip and backdoor it.

Ultimately, I want to make my document hack proof to office folk that know their way around "some" code, but not enough to be effective against something more sophisticated.

Any help would be greatly appreciated! Thank you!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Keeping your password in VBA stored as a string of encrypted ASCII characters and the locking the VBA will prevent them from running your code. The smarter hackers will be able to break into the sheets. People can create code to make sheets visible that are XLVeryHidden from another workbook VBA. Data and formulas are less protectable. If you really need to prevent someone from accessing data, don't put it in a workbook.

There are 255 characters in the standard ASCII character set. Find a mathematical way of turning your provided password into a set of ASCII characters embedded in a longer string of ASCII characters. You can put over 32,000 characters in a single cell. So, if you want to store that password where every 593rd character is the actual password, how long do you think it will take them to break it?
 
Upvote 0

Forum statistics

Threads
1,215,026
Messages
6,122,738
Members
449,094
Latest member
dsharae57

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top