Is it possible to entirely sandbox a folder on linux? This is because certain users will be able to upload any files they want to this folder and execute PHP scripts (which in turn can execute more harmful code they upload).
Is it possible to entirely block access of things inside the folder from accessing external resources?