Avatar of Jamie Garroch (MVP)
Jamie Garroch (MVP)
Flag for United Kingdom of Great Britain and Northern Ireland

asked on 

Hide custom ribbon controls from Office backstage / Options / Customize Ribbon view

I have an Office application add-in that has various controls that are made visible (or not) under specific configurations via getVisible callbacks.

When they are hidden, it's because the function is not available to the user.

However, I've discovered that regardless of the state of the controls, they ALL appear in the backoffice view here:

File / Options / Customize Ribbon and then change the Choose commands from: drop down to All Commands

The obvious impact is that users can circumvent the add-in's code, making it seemingly impossible to have a single code base for an add-in deployed under various configurations. At it's worst, this appears to be a major security loophole.

Is there a way to prevent this behaviour?
Microsoft PowerPointMicrosoft OfficeMicrosoft ExcelMicrosoft WordVisual Basic Classic

Avatar of undefined
Last Comment
Jamie Garroch (MVP)

8/22/2022 - Mon