-
I like using the allowFunctions for functions that I allow, since I believe this should be a very limited list. However, when it comes to allowProperties and allowMethods, I can have an infinite amount of objects, and it's a headache to define each of them, when they are alredy safe, except for maybe 1 or 2 that I would like to block. |
Beta Was this translation helpful? Give feedback.
Answered by
pixobit
Aug 30, 2024
Replies: 1 comment
-
For anyone else wondering about this, I realized that it's very easy to extend Latte\Sandbox\SecurityPolicy and overwrite isPropertyAllowed and isMethodAllowed. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pixobit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For anyone else wondering about this, I realized that it's very easy to extend Latte\Sandbox\SecurityPolicy and overwrite isPropertyAllowed and isMethodAllowed.