In our project we are using smartgwt 2.5 pro. we have the requirement to make our project the CSP compliance. While adding the CSP headers we are facing inline-eval and inline-script errors on the smartgwt. Here by I have attached the errors for your review. Is it possible can you make smartgwt 2.5 pro CSP compliance? Or can we expect the upcoming smartgwt release to be CSP compliance
Announcement
Collapse
No announcement yet.
X
-
CSP is not a useful setting for SmartGWT, which is a component framework - you don't create HTML directly. CSP is used with other frameworks, such as Angular, where HTML elements are directly created, to prevent less-than-expert developers from making certain security mistakes.
Further, if the CSP policy against inline-eval were enabled, this would cripple advanced web frameworks - can't dynamically load new code, for example.
So CSP support is not planned for SmartGWT as it would have no positive effect and would cause many features to have be deprecated.
Comment