Home All Groups Group Topic Archive Search About

Modifying Security.config file

Author
1 Aug 2006 12:09 PM
Juan
Hello:

I'm modifying the
c:\windows\Microsoft.Net\Framework\V1.1.X\Config\security.config file when I
install my c# application. I use the XML namespace to include some policies,
but when I start the "Microsoft .Net framework configuration tool" all the
changes I done dissapear.

Can I modify this file manually? it's legal? What am I doing wrong?

Thanks.

Juan

Author
1 Aug 2006 2:50 PM
Nicole Calinoiu
"Juan" <j***@tata.com> wrote in message
news:uIe5KNWtGHA.4140@TK2MSFTNGP03.phx.gbl...
> Hello:
>
> I'm modifying the
> c:\windows\Microsoft.Net\Framework\V1.1.X\Config\security.config file when
> I install my c# application. I use the XML namespace to include some
> policies, but when I start the "Microsoft .Net framework configuration
> tool" all the changes I done dissapear.
>
> Can I modify this file manually? it's legal? What am I doing wrong?

Hard to tell without seeing your code.  Might you be able to post a sample
that demonstrates the problem?
Author
2 Aug 2006 7:22 AM
Juan
The problem isn't in the code, it is that even I modify security.config XML,
the Framework doesn't catch those changes, it deletes when I start the
policies administration console.

Thanks

Show quote
"Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> escribió en el
mensaje news:16C6C485-0C2C-4038-8AF2-60B698CD66AB@microsoft.com...
> "Juan" <j***@tata.com> wrote in message
> news:uIe5KNWtGHA.4140@TK2MSFTNGP03.phx.gbl...
>> Hello:
>>
>> I'm modifying the
>> c:\windows\Microsoft.Net\Framework\V1.1.X\Config\security.config file
>> when I install my c# application. I use the XML namespace to include some
>> policies, but when I start the "Microsoft .Net framework configuration
>> tool" all the changes I done dissapear.
>>
>> Can I modify this file manually? it's legal? What am I doing wrong?
>
> Hard to tell without seeing your code.  Might you be able to post a sample
> that demonstrates the problem?
Author
4 Aug 2006 2:58 PM
Nicole Calinoiu
Are you sure that you're modifying the right security.config file?  Each
version of the .NET Framework (incl. 32- vs 64-bit releases) maintains its
own security policy.  Are you viewing the same policy in the UI that you're
attempting to manipulate via the config file?


Show quote
"Juan" <j***@tata.com> wrote in message
news:ulLi$QgtGHA.2172@TK2MSFTNGP05.phx.gbl...
> The problem isn't in the code, it is that even I modify security.config
> XML, the Framework doesn't catch those changes, it deletes when I start
> the policies administration console.
>
> Thanks
>
> "Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> escribió en el
> mensaje news:16C6C485-0C2C-4038-8AF2-60B698CD66AB@microsoft.com...
>> "Juan" <j***@tata.com> wrote in message
>> news:uIe5KNWtGHA.4140@TK2MSFTNGP03.phx.gbl...
>>> Hello:
>>>
>>> I'm modifying the
>>> c:\windows\Microsoft.Net\Framework\V1.1.X\Config\security.config file
>>> when I install my c# application. I use the XML namespace to include
>>> some policies, but when I start the "Microsoft .Net framework
>>> configuration tool" all the changes I done dissapear.
>>>
>>> Can I modify this file manually? it's legal? What am I doing wrong?
>>
>> Hard to tell without seeing your code.  Might you be able to post a
>> sample that demonstrates the problem?
>
>

AddThis Social Bookmark Button