web-widget icon indicating copy to clipboard operation
web-widget copied to clipboard

added sandbox attribute with same origin and allow scripts

Open AKApumkin opened this issue 4 years ago • 2 comments

the sandbox attribute with specified parameters can help increase security by not allowing outside script injection through Iframes, also it will mean that it passes most security scans as iframes without the sandbox attribute always get flagged.

AKApumkin avatar Mar 20 '20 07:03 AKApumkin

Quite interesting, I'll consider this feat for https://www.npmjs.com/package/botman-extended-web-widget

EranGrin avatar Apr 22 '24 20:04 EranGrin

I have added a configuration props to pass any sandbox attribute to the iframe on release v1.2.8 of the extended-web-widget

EranGrin avatar Apr 30 '24 06:04 EranGrin