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.
See Also
PerTenantExtensionCop Analyzer
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for