In my VB.Net Windows app, I am storing certain information in the App.config
file. Howerver, there is certain information I would like to store there but
am hesitant to because I don't want it changed, modified, etc.
Is the App.config file still a good place for this, and if so, is there a
way to encrypt it so that the user has no idea what the value is? Or should
I be storing this elsewhere?
For example, my app times out after 30 days. I want to store the install
date somewhere, but if I install it in the App.Config, the users who know
what they are doing can modify this date.
Thoughts?
--
Thanks,
Scott 2 912
Write the install date into the registry and encrypt it. Just make sure you
remove the entry if the user uninstalls your app!
The config file is way to easy to modify.
"SQLScott" <SQ******@discussions.microsoft.com> wrote in message
news:79**********************************@microsof t.com... In my VB.Net Windows app, I am storing certain information in the
App.config file. Howerver, there is certain information I would like to store there
but am hesitant to because I don't want it changed, modified, etc.
Is the App.config file still a good place for this, and if so, is there a way to encrypt it so that the user has no idea what the value is? Or
should I be storing this elsewhere?
For example, my app times out after 30 days. I want to store the install date somewhere, but if I install it in the App.Config, the users who know what they are doing can modify this date.
Thoughts? -- Thanks,
Scott
Thanks Greg. I was leaning toward putting it there, but wanted to hear what
others said.
Scott
"Greg" wrote: Write the install date into the registry and encrypt it. Just make sure you remove the entry if the user uninstalls your app! The config file is way to easy to modify. "SQLScott" <SQ******@discussions.microsoft.com> wrote in message news:79**********************************@microsof t.com... In my VB.Net Windows app, I am storing certain information in the App.config file. Howerver, there is certain information I would like to store there but am hesitant to because I don't want it changed, modified, etc.
Is the App.config file still a good place for this, and if so, is there a way to encrypt it so that the user has no idea what the value is? Or should I be storing this elsewhere?
For example, my app times out after 30 days. I want to store the install date somewhere, but if I install it in the App.Config, the users who know what they are doing can modify this date.
Thoughts? -- Thanks,
Scott This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tim Blizard |
last post by:
I know this topic has been discussed before but I couldn't find any
thread more recent than about 18 months and was interested in what
conclusions people had come to recently.
Invariably 3...
|
by: Chris Fink |
last post by:
Should the web.config file be included in my deployment, IE physically
located in the web app's virtual directory on a release? It makes me
nervous having my DB conn string, etc in a ASCII file so...
|
by: John Buchmann |
last post by:
In my web.config, I have a section that has a name and
password:
<credentials passwordFormat="Clear">
<user name="aaa" password="bbb" />
</credentials>
Is this secure? What is to stop...
|
by: tommy |
last post by:
hello everbody,
i write a little asp-application with forms-authentication.
i copy my aspx-files with web.config to my webspace and i get the
error above...
i tried to set the...
|
by: Daniel |
last post by:
Hi, is the a way to prevent aspnet process to restart after web.config is
modified?
like, waiting for all sessions to close, or not restart at all ?
Thank you,
Daniel
| |
by: Jason Chan |
last post by:
I have a subfolder in a webapp
How can the aspx in the subfolder access the web.config in the webapp.
I.e. I stored the connectionstring in the \webapp\web.config
how the...
|
by: Dan |
last post by:
I am trying to add a definition for ConnString to web.config as follows
(VB.NET STD 2003)
<configuration>
<system.web>
..........
<appsettings>
<add key="ConnString" value="C:\test\test.mdb"...
|
by: Rob R. Ainscough |
last post by:
Just trying to figure out if I need to include myApp.exe.config when I XCOPY
the files to another PC?
Rob.
|
by: David++ |
last post by:
Hi folks,
So I have implemented a Web service which provides several Web Methods.
Before the client can use the WebMethods they must first be authenticated and
authorized i.e. they login, obtain...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |