Re: DPAPI and config files

From: Paul Glavich [MVP - ASP.NET] (glav_at_aspalliance.com-NOSPAM)
Date: 08/26/04


Date: Thu, 26 Aug 2004 23:19:18 +1000

The configuration application block offers similar functionality but
relegates most of the config info to another file (not the web.config) and
encrypts that.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/cmab.asp

-- 
- Paul Glavich
Microsoft MVP - ASP.NET
"Dan Amiga" <dan.amiga@ness.com> wrote in message
news:eQem$NoiEHA.2448@TK2MSFTNGP12.phx.gbl...
> 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.
>
>
>
>
>
>


Relevant Pages

  • A Framework to automatically configure a Kernel
    ... automatically generates a Kernel-Configuration. ... I've right-now almost finished a framework that generates a ... .config file based on the target system. ... Those scripts answers are depending on the ...
    (Linux-Kernel)
  • Re: Machine Config
    ... framework has a machine.config for the entire machine? ... There are Two config File ... I understand the the usage of Web config, ... Can any explain me why .net frame work requires two configuration file ...
    (microsoft.public.dotnet.framework.aspnet)
  • Automatic Configuration of a Kernel
    ... I've almost finished a framework ... linux kernel Config without spending a lot of time at ... auto-detect if the hardware involved in this option is ... present or not (the script reply 'y' or 'n'). ...
    (Linux-Kernel)
  • [ANNOUNCE] Framework for automatic Configuration of a Kernel
    ... I've almost finished a framework ... linux kernel Config without spending a lot of time at ... auto-detect if the hardware involved in this option is ... present or not (the script reply 'y' or 'n'). ...
    (Linux-Kernel)
  • Re: Machine Config
    ... that "machine.config" has machine-wide scope for that framework version. ... There are Two config File ... I understand the the usage of Web config, ... Can any explain me why .net frame work requires two configuration file ...
    (microsoft.public.dotnet.framework.aspnet)