Solved

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

Posted on 2011-09-15
2
173 Views
Last Modified: 2012-05-12
Is this a security breach for our systems ?
0
Comment
Question by:itbabe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
Easwaran Paramasivam earned 500 total points
ID: 36542207
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
 
LVL 40
ID: 36543128
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question