We have a program that requires read access to a machine.config file of the dotnet framework

Is this a security breach for our systems ?
Who is Participating?
Easwaran ParamasivamCommented:
You can read machine.config like web.config.

http://www.dotnetspider.com/resources/4817-Read-machine-config-file-settings.aspx contains sample for that.

But modifying machine.config file may lead to more problems. Be careful on that.
Jacques Bourgeois (James Burger)PresidentCommented:

There are 2 configuration files involved in a program. The application configuration file, that is distributed with the program, and machine.config.

Most of the information that is usually stored in the application configuration file can be stored in machine.config. That makes it easier to have a centralized configuration that enables a change to be seen my many applications. An application that stores settings in machine.config will thus need access to it.

See the description of what machine.config is used for.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.