Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 815168 - Last Review: July 8, 2005 - Revision: 1.7
How to back up and restore .NET Framework configuration and security policy files
On This Page
SUMMARY
This step-by-step article describes how you must back up and
restore .NET Framework configuration and security policy files. Security
policies define the permissions that are assigned to .NET Framework
applications. Configuration files define the environment that is presented to
.NET applications. These configuration files affect the system resources that
are available to applications. The configuration files also affect the level of
administrative credentials that the applications receive. The system
administrator must make sure that .NET Framework configuration files are backed
up in addition to other critical files. The system administrator must be able
to restore these files to recover from a system failure. The .NET Framework
stores security policies in XML files. These files are backed up and restored
as ordinary files. All these files have a .config file name extension. While
several .config files exist on all systems, additional .config files may be
created when applications are added or new trust levels are
defined.
back to the
topPolicy level file locations
The following table lists critical .NET Framework configuration
files and their locations.
Collapse this tableExpand this table
| File Location | Description |
| \%SystemRoot%\Microsoft
.NET\Framework\%VersionNumber%\CONFIG\web_notrust.config | Defines the
permissions for applications that run at the None trust level. |
| \%SystemRoot%\Microsoft
.NET\Framework\%VersionNumber%\CONFIG\web_lowtrust.config | Defines the
permissions for applications that run at the Low trust level. |
| \%SystemRoot%\Microsoft
.NET\Framework\%VersionNumber%\CONFIG\web_hightrust.config | Defines the
permissions for applications that run at the High trust level. |
| \%SystemRoot%\Microsoft
.NET\Framework\%VersionNumber%\CONFIG\Machine.config | Defines .NET
Framework configuration information for the local system. |
| \%SystemRoot%\Microsoft
.NET\Framework\%VersionNumber%\CONFIG\Enterprisesec.config | This is the
Enterprise security policy configuration file, as applied to the local
system. |
| \%SystemRoot%\Microsoft
.NET\Framework\%VersionNumber%\CONFIG\Security.config | This is the Local
computer security policy configuration file. |
| \%UserProfile%\ Application Data\Microsoft\CLR Security
Config\%VersionNumber%\Security.Config | This is the User security policy
configuration file for Microsoft Windows NT, Microsoft Windows 2000, Microsoft
Windows XP, and Microsoft Windows Server 2003. |
| \%SystemRoot%\username\CLR security
config\%VersionNumber%\Security.Config | This is the User security policy
configuration file for Microsoft Windows 98 and Microsoft Windows millennium
edition (ME). |
Note The files that have the extension
.cch are dynamically generated and do not have to be backed up or restored. You may find some files that have numbers appended to their .cch extensions. When you try to make backups of these files, you may receive errors because the files are in use. You must not make backups of these files because these files are cache files.
Files that have the extension
.old are generated to make rolling back changes easier. These files
must be backed up. These files do not affect how a system
functions.
back to the topREFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
315736Â
(http://kbalertz.com/Feedback.aspx?kbNumber=315736/
)
How to secure an ASP.NET application by using Windows security
315588Â
(http://kbalertz.com/Feedback.aspx?kbNumber=315588/
)
How to secure an ASP.NET application using client-side certificates
back to the
top
APPLIES TO
- Microsoft .NET Framework 1.0
- Microsoft .NET Framework 1.1
| kbhowtomaster kbsecurity kbconfig kbbackup KB815168 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please