Adapter security permissions (script.policy)

Is there a documentation describing configuration
of security policies for the Adapter processes ?
There is a setting on a Java tab in the adapter configuration allowing one to “enable script
security”. I have found a script.policy file
where the entries similar to java.policy file
can be input.

I have a common operation that manipulates the
file directory structure and I want the IOAdapter
to have a permission to do that. Disabiling script
security works fine, but it seems that the right
way to do it would be through the script.policy

Michal Morciniec