aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_security.h
AgeCommit message (Collapse)Author
2022-01-15Minor improvements to Lua sandboxsfan5
2021-12-18Refactor trusted mod checking codesfan5
2019-11-09Refactor loading of Lua code with mod securitysfan5
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-06-30Create a filesystem abstraction layer for CSM and only allow accessing files ↵red-001
that are scanned into it. (#5965) * Load client-side mods into memory before executing them. This removes the remaining filesystem access that client-sided mods had and it will hopefully make then more secure. * Lua Virtual filesystem: don't load the files into memory just scan the filenames into memory. * Fix the issues with backtrace * fix most of the issues * fix code style. * add a comment
2017-03-13[CSM] Improve security for client-sided mods (#5100)red-001
2016-12-20Mod security: Allow read-only access to all mod pathsShadowNinja
2016-03-07Use LuaErrors in security check macrosShadowNinja
Throwing a LuaError calls destructors as it propagates up the stack, wheres lua_error just executes a longjmp.
2015-05-16Add mod securityShadowNinja
Due to compatibility concerns, this is temporarily disabled.