Default security policy

26 views
Skip to first unread message

הדס מרזוק

unread,
Jul 16, 2023, 3:22:12 AM7/16/23
to sandboxed-api-users
Hello, 
I have some questions regarding the default security policy
What are the default security policies (syscalls and resources limit) that SAPI and Sandbox2 support?

Does defining new policy override the default policy in case of contradiction?

Thank you

Robert Swiecki

unread,
Jul 16, 2023, 6:54:35 AM7/16/23
to הדס מרזוק, sandboxed-api-users

Hi,


For Sandbox2, there's only a very small default policy, which doesn't have too much in common with commonly used syscalls - it mostly enforces CPU arch, and other internal things. Your policy will be appended to it:


For SAPI - there's a default policy included


It can be both amended, left unchanged or replaced by a new one depending on the contents of ModifyPolicy, eg:


HTH

--
Robert Święcki
Reply all
Reply to author
Forward
0 new messages