mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 16:47:14 -04:00
(WIP) Java Runtime Sandbox
This commit is contained in:
parent
4ab38ca2c2
commit
5044ee1b47
12
app/src/main/assets/java_sandbox.policy
Normal file
12
app/src/main/assets/java_sandbox.policy
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
// PojavLauncher JRE Sandbox
|
||||||
|
// DO NOT EDIT THIS FILE WITHOUT KNOWLEDGE!
|
||||||
|
// This file is important to protect you against viruses/malwares that could be come from unknown Java Programs (run on mod install) or a mod.
|
||||||
|
|
||||||
|
grant {
|
||||||
|
permission java.io.FilePermission "${pojav.path.cache}/*", "read, write, delete";
|
||||||
|
permission java.io.FilePermission "${pojav.path.minecraft}/*", "read, write, delete";
|
||||||
|
};
|
||||||
|
|
||||||
|
deny {
|
||||||
|
permission java.io.FilePermission "<<ALL FILES>>", "write, delete, execute"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user