I have been using a custom function combined with importing old school MDB custom menus to lock down my accdb files.
The following are some lines of code that can work independently or collectively
Code:
'
'ChangeProperty "AllowFullMenus", DB_BOOLEAN, False 'Access Full Menus.
'ChangeProperty "AllowSpecialKeys", DB_BOOLEAN, False 'F11, ALT F11, etc.
'ChangeProperty "AllowBypassKey", DB_BOOLEAN, False 'Shift Key Override on loading.
'ChangeProperty "AllowShortcutMenus", DB_BOOLEAN, False 'Access Shortcut Menus. May be too severe.
'ChangeProperty "AllowBuiltInToolbars", DB_BOOLEAN, False 'Toolbars.
'ChangeProperty "AllowToolbarChanges", DB_BOOLEAN, False 'Prevent Changes.
'ChangeProperty "AllowBreakIntoCode", DB_BOOLEAN, False 'Code access.
'ChangeProperty "AllowFullMenus", DB_BOOLEAN, False 'Access Full Menus.
They call a custom UDF found in the following link. I have used this thread as reference almost from day 1.
https://www.accessforums.net/securit...html#post24088