PerTenantExtensionCop Warning PTE0012

InternalsVisibleTo should not be used as a security feature.

Description

The InternalsVisibleTo setting will expose your internal objects to any extension with the given name, publisher, and ID. Access modifiers are not designed to be used as a security boundary, but for API development.

Remarks

For examples and guidance on fixing this diagnostic, see AppSourceCop Rule AS0081.

PerTenantExtensionCop Analyzer
Get Started with AL
Developing Extensions