DPAPI and config files

From: Dan Amiga (dan.amiga_at_ness.com)
Date: 08/25/04

  • Next message: Matthew: "Impersonation Stops Language Resources Working"
    Date: Wed, 25 Aug 2004 12:19:50 +0300
    
    

    Hello. This is about DPAPI and configuration files.
    Basically, what I understand is when loading the exe assembly the framework
    takes parameters from the config file and loads them.
    I want to store THE ENTIRE web.config ( or any other config file ) using
    DPAPI.

    That is - I want to develop a component which intercept the frameworks
    request to the web.config, decrypt the config file stored in the DPAPI
    protected storage and give it to the framework for regular execution.

    The thing is - I want it to be transparent. I don't want other development
    teams to be concered and implement this logic in their applications.

    Any idea's ?

    Dan Amiga,
    Israel.


  • Next message: Matthew: "Impersonation Stops Language Resources Working"

    Relevant Pages

    • DPAPI and Web.Config
      ... what I understand is when loading the exe assembly the framework ... takes parameters from the config file and loads them. ... I want to store THE ENTIRE web.config (or any other config file) using ...
      (microsoft.public.dotnet.framework)
    • RE: .net framework version, visual studio 03
      ... You can use a config file to direct the runtime to use a particular version ... framework using an older version of VB.net, ... I think you only have to switch one reference for each project, ... When compiling the release, I did the switch. ...
      (microsoft.public.dotnet.languages.vb)
    • Re: .Net Framework 2.0
      ... standalone application using a Config file works very well and that will ... may be other applications running in the host process so you couldn't just ... override the use of the .NET framework. ... > version of the CLR is loaded to work around the behavioral differences. ...
      (microsoft.public.dotnet.framework.clr)
    • RE: App.Config: using doctype and entity blocks
      ... Block Framework, ... Framework for the manipulation of the App.Config is included as part of the ... fuslogvw reports that the XML config file is not formatted correctly. ...
      (microsoft.public.dotnet.general)
    • Re: Latest patch parses 1.1 pages with 2.0
      ... It reports 1.1. ... The properties for the root site in the MMC plugin show the .Net version as ... Version Information: Microsoft .NET Framework Version:2.0.50727.832; ... Now I could fix the config file to run happily under 2.0, ...
      (microsoft.public.dotnet.framework.aspnet)