Re: "ProtectSection" cannot save the file



well - the application needs the write (and create new files) permission for the application directory.

I don't that at all - consider encrypting the string using the command line tool with an admin account...


-----
Dominick Baier (http://www.leastprivilege.com)

Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)

Hi,

I have a problem where after protecting the "connectionStrings"
section of the web.config file and then saving the encrypted version I
am getting "Access to the path C:*******\web.config is denied" - This
is both local IIS (Windows 2003) and hosting site.

Any clues as how I can save the file?



.



Relevant Pages

  • Re: DES ECB Encryption cannot decrypt
    ... > PaddingMode.None for both encrypting and decrypting algorithm object. ... > you could not use that code because the encryptor returned a byte array ... pass the string around and use FromBase64 in the decrypting method ...
    (microsoft.public.dotnet.security)
  • Re: Encryption and byte array to string conversion
    ... I have a string that I need to encrypt (the result ... new byteArray -> ToBase64 ->encryptedString... ... > Regarding encrypting data I have found 3 implementations: ... Base64 encoding the data instead. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: DES ECB Encryption cannot decrypt
    ... > padding, that is why you are getting 16 bytes of ciphertext. ... > PaddingMode.None for both encrypting and decrypting algorithm object. ... pass the string around and use FromBase64 in the decrypting method ...
    (microsoft.public.dotnet.security)
  • Re: Encrypt password in PHP, decrypt in VB?
    ... instead of encrypting OrgaCorp you can encrypt ... taking the organization's name, eg. "Acme Inc.", and prepend it ... encrypt/cypher this string ... any computer-savvy person who has access to two keys will ...
    (comp.lang.php)
  • Re: Crypto newbie questions
    ... Has any work been done on automatic generation of this kind ... Is this something like XOR with a psuedorandom string before encrypting, ... > weakness, then a second mask M2 could be stored in a random position ...
    (sci.crypt)