[RESOLVED] My.Setting.String Question
Lets say i had a hidden my.setting.example for the project and the example was some type of password that is NOT visible during the program. Is there a way for the user to find that string? (example located somewhere on a text file or something on the computer) i don't really understand how VB saves the string without writing a file somewhere
thanks!
Re: My.Setting.String Question
Yes the User can able to see the value. It will be saved in a XML file. This file will be located in your application Folder
This will be stored in the
Code:
<c:\Documents and Settings>\<username>\[Local Settings\]Application Data\<companyname>\<appdomainname>_<eid>_<hash>\<verison>.
Code:
<applicationSettings>
<MySettingsDemo.MySettings>
<setting name="SMTPServerIP" serializeAs="String">
<value>127.0.0.1</value>
</setting>
<setting name="MyServicesURL" serializeAs="String">
<value>http://localhost/myservices.asmx</value>
</setting>
</MySettingsDemo.MySettings>
</applicationSettings>
MSDN
Re: My.Setting.String Question
How you create an especially hidden setting?
Re: [RESOLVED] My.Setting.String Question
Encrypt the values before storing it and decrypt while retrieving..
Re: [RESOLVED] My.Setting.String Question
Quote:
Originally Posted by
danasegarane
Encrypt the values before storing it and decrypt while retrieving..
But where do I store the encryption/decryption key?
Re: [RESOLVED] My.Setting.String Question
Quote:
Originally Posted by
cicatrix
But where do I store the encryption/decryption key?
May be hard code inside the Program ;)
Re: [RESOLVED] My.Setting.String Question
Quote:
Originally Posted by
danasegarane
May be hard code inside the Program ;)
Considering the easiness any .Net application is decompiled with it might be not the best choice.
Re: [RESOLVED] My.Setting.String Question
Quote:
Originally Posted by
cicatrix
Considering the easiness any .Net application is decompiled with it might be not the best choice.
Yes it can. The other option could be store in database server,