lgdnpt Posted November 27, 2022 Posted November 27, 2022 I tried to set the password in main function, but it doesn't work. In the document, it only has the cpp version sample. Please tell me how to do that, thanks!
silent Posted November 28, 2022 Posted November 28, 2022 lgdnpt Can you show us how you data directly looking right now? There should be core.ung located. Also could you please show us how do you pack the rest of the data with UNG Archiver (need to see the command line arguments as well)? === Just a small addition to that article: there is no need to protect everything inside the data (such assets like meshes / textures / shaders can be easily extracted via 3rd party tools like RenderDoc). The same goes with video / sounds. This ung packages will be big and quite useless and may took a lot of RAM. Packing only sensitive parts of the project that makes more sense (for example, xml files and configs). Also since all the C# apps can be decompiled easily, storing string-based passwords in the source file also a big security breach. Maybe for C# you may need to introduce your own package format with correct encryption and use of ProtectedData class. Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts