Solved

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

Posted on 2011-09-15
2
172 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

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

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

Suggested Solutions

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

751 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