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
Solved

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

Posted on 2011-09-15
2
170 Views
Last Modified: 2012-05-12
Is this a security breach for our systems ?
0
Comment
Question by:itbabe
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.NET - Error - Object not set in Module 4 39
JQuery JavaScripot loop though RadioButtonList 4 32
Store results in vb.net 3 24
VB.NET 2008 - SQL Timeout 9 34
A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
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…

809 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