Posted 25 September 2015 - 11:32 PM
Hey everyone, I need some help with making a sandbox for filesystem functions. What I would like is something that for the most part, isn't easily broken out of. It would make a folder, where programs would be run out of, and can only see what's inside of the folder. Additional things I would like are 1) code that puts all the files into that sandboxed folder, and 2) a way to get the data from any user inputted text(ex. program asks user for their name, user inputs name, program gets name, sets variable to whatever text was inputted.)
Any help is appreciated.
PS: Also, would I have to put this code in front of any program if I want to sandbox it, or is there a way to have some master program set up a sandbox that un-edited programs would be affected by.
Any help is appreciated.
PS: Also, would I have to put this code in front of any program if I want to sandbox it, or is there a way to have some master program set up a sandbox that un-edited programs would be affected by.
Edited on 25 September 2015 - 09:42 PM