New topic: Private text files in a project and Resources
<http://forums.realsoftware.com/viewtopic.php?t=41312> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message Ramon Post subject: Private text files in a project and ResourcesPosted: Fri Nov 04, 2011 11:32 am Joined: Thu Jun 22, 2006 2:16 am Posts: 186 Location: Barcelona I usually work on Windows. So I'm not at all an expert in OS. I've seen that when you produce an executable for OS what you get is a folder with some subfolders. In one of these, called Resources, you find all the files you use in your program: icons, images, texts, etc. Is there a way to use a text file in my program and avoid to show it openly to everybody just looking in the Resources folder? I tried to encrypt it in the IDE, but when you produce the executable everything is open. Have I missed something or did I do something wrong? _________________ Thanks, Ramon ---------------------------------------------------------------- REAL_Studio2011r3 Professional - Licensed Windows 7 - Registered and Activated Top alexvs Post subject: Re: Private text files in a project and ResourcesPosted: Fri Nov 04, 2011 2:05 pm Joined: Fri Feb 12, 2010 1:32 pm Posts: 186 Location: Switzerland Well, I see three ways: 1. Put the content of the text file into a constant. Then you don't need the text file anymore. 2. Put the content of the text file into an encrypted database. 3. Encrypt the contents of the text file and decrypt it at runtime. I have used all of them but prefer the database. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
