|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
enterprise library encrypt using config fileIs there somewhere on the Internet a description of what a .NET application config file should contain? The Enterprise Library does have an encryption method (for encrypting passwords), but that method doesn't just return a value - no - it wants to write the value immediately to a config file. I do want to store the passwords encrypted in a config file. However, the encrypt method always gives an error, because no config file contents are ever good enough for it. The same goes for the ConfigurationManager.WriteConfiguration function; whatever the config file contents, it always seems to give an error. Its 2nd parameter is described in the help as "configValue: The configuration value to store" (which is no explanation at all), so whatever object you insert there; it always gives an error. In the book "Professional C#" Robinson, Cornes, Glynn, etc. describe a certain config tool, but (1) that tool is completely different in my XP and (2) it doesn't do what they say it should do. If Microsoft wants us to use their XML config file concept, then, why, why, why, don't they properly describe what the contents of such a file should be and what it should look like?!! The whole Developer Environment is stuffed with wizzards, so why isn't there a "new-configuration-file-with-valid-contents-wizzard"? I'm a C++ & C# programmer, not an XML programmer. Can anyone provide any help about the supposed contents of a config file? Joan
Medium Level Trust and Reflection
API to access loaded assembly hash Active Directory Machine Account Permissions Method SetThreadPrincipal Make Security to Directory Forms authentication periodically requires re-login XmlSerialization of classes with declarative Security Troubleshoot Caspol file access problem problem with encryption / decryption |
|||||||||||||||||||||||