How to prevent sensitive information is displayed when the extension 'exe' is modified to 'txt' on windows?

FrankLike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 6 09:15:25 PST 2015


How to prevent sensitive information is displayed when the 
extension 'exe' is modified to 'txt' on windows?

If you build a exe ,such as which can get Data from DataBase,when 
you modify the exe's  extension to 'txt',
and you open it by notepad.exe (on windows),you will find the 
info,it's important for me,so how to stop  the info to display  ?


   Driver={SQL Server Native Client 
10.0};Server=127.0.0.1;Database=test;Trusted_Connection=Yes    \  
  €`B SELECT top 10 * FROM testtable     鑐B atest.d    aB 
testcolumnname      aB std.stdio.File err.text    GaB w        
   XaB error :
            haB  @ <


Thank you.


More information about the Digitalmars-d-learn mailing list