[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

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 ?
0
itbabe
Asked:
itbabe
1 Solution
 
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.
0
 
Jacques Bourgeois (James Burger)PresidentCommented:
No.

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.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now