The love.filesystem library does not allow you to do anything outside of the sandbox. However, LÖVE does not disable Lua, which is built into the io library, so you can use io.open to open files outside the sandbox and read / write them as usual, as well as for other Lua functions such as require and loadfile .
It also does not restrict the loading of external modules, so you can (for example) require "lfs" load the LuaFileSystem and use this if it is installed.
source share