Milan Berić, V. Bjelić, Đorđe Simić, Nemanja Fimic
{"title":"用Lua C API实现用户设置控件","authors":"Milan Berić, V. Bjelić, Đorđe Simić, Nemanja Fimic","doi":"10.1109/TELSKS.2017.8246312","DOIUrl":null,"url":null,"abstract":"This paper explains how C++ functions for controlling user data can be connected to Lua by using Lua C API. Solution presented in this paper can be used as a guideline for applications that have the need to prevent direct file manipulation, but instead to allow file access only in controlled environment. Implementation considers completely disabling I/O module in Lua and instead using set of custom functions for file access.","PeriodicalId":206778,"journal":{"name":"2017 13th International Conference on Advanced Technologies, Systems and Services in Telecommunications (TELSIKS)","volume":"141 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Implementation of user settings control with Lua C API\",\"authors\":\"Milan Berić, V. Bjelić, Đorđe Simić, Nemanja Fimic\",\"doi\":\"10.1109/TELSKS.2017.8246312\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This paper explains how C++ functions for controlling user data can be connected to Lua by using Lua C API. Solution presented in this paper can be used as a guideline for applications that have the need to prevent direct file manipulation, but instead to allow file access only in controlled environment. Implementation considers completely disabling I/O module in Lua and instead using set of custom functions for file access.\",\"PeriodicalId\":206778,\"journal\":{\"name\":\"2017 13th International Conference on Advanced Technologies, Systems and Services in Telecommunications (TELSIKS)\",\"volume\":\"141 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2017-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2017 13th International Conference on Advanced Technologies, Systems and Services in Telecommunications (TELSIKS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/TELSKS.2017.8246312\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 13th International Conference on Advanced Technologies, Systems and Services in Telecommunications (TELSIKS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TELSKS.2017.8246312","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
本文解释了如何通过使用Lua C API将控制用户数据的c++函数连接到Lua。本文提出的解决方案可以作为需要防止直接文件操作的应用程序的指导方针,而不是只允许在受控环境中访问文件。实现考虑在Lua中完全禁用I/O模块,而使用一组自定义函数来访问文件。
Implementation of user settings control with Lua C API
This paper explains how C++ functions for controlling user data can be connected to Lua by using Lua C API. Solution presented in this paper can be used as a guideline for applications that have the need to prevent direct file manipulation, but instead to allow file access only in controlled environment. Implementation considers completely disabling I/O module in Lua and instead using set of custom functions for file access.