EMG;
No. You are right. (1) But you can set windows to auto-log as a given user, set the user permissions to auto-run your .exe, deny the user permissions to run the start menu, deny the user permissions to run cmd prompt, deny modifying the desktop, deny running ie, deny read/write from all directories except the dir with your .exe. etc... Have the workstation reboot if the .exe is terminated.... In short, the workstation is only good to run your .exe. Therefore it becomes a lot harder to execute any tool/utility to read the binary contents on RAM, and that was the original question.
(2) As far as closing access to your .dbfs -here is an idea -you could have your .dbfs on a server on a directory that is NOT shared. Make the directory belong to the user system, and deny access to any other user. That makes the .dbfs only visible/read/write to the "system" user on the server. Have the user system run a service that listens on port xxx for data requests. Have your app only speak to the server's ip through port xxx. Any data request is actually served by the service owned by the "System" user running on the server. This makes your .dbfs only visible to your .exe.
That's, in short, how ADS does it. ADS is a service running on the server, the ADS rdd simply replaces any data call (dbseek, skip, etc....) for requests to the service. It is transparent to the programmer, but you get to have your .dfs hosted on a server directory that is NOT shared and thus only your .exe has access to the .dbfs. Since the .dbfs are not on a shared directory you can not open a command prompt copy/delete a .dbf. The directory containing data is only visible to the "system" user on the server. That is only one of the reasons I switched to ADS over 10 years ago. I needed to secure my .dbfs from users trying to steal data, un-intentionally, or otherwise- deleting .dbfs, and simply making the database more stable and secured. In my apps, the .dbfs (I have now switched to .adts), are only visible to my apps. Users can not read/write or even see the files.
Hope that helps some,
Reinaldo.