O
Olaf Baeyens
Can someone out there point me to a URL or other reference how to use these
security stuff in .NET?
I know everything can be found online on the msdn but since I am new to this
security stuff, I have a very hard time to find the correct page in the
zillions of abstract pages talking about this topic.
One of the problems is this:
[assembly:FileIOPermission(SecurityAction.RequestMinimum,
Unrestricted=true)]
I can find information about FileIOPermission here:
http://msdn.microsoft.com/library/d...ritypermissionsfileiopermissionclasstopic.asp
I also fiund documentation of SecurityAction.RequestMinimum
But I cannot seem to find what parameters can be declared like
"Unrestricted=true".
I do find documentation about AllAccess, Append, NoAccess, PathDiscovery,
Read, Write, but the word "Unrestricted" is nowwhere seen on that page.
FileIOPermission is one example it would be nice to find some page that
gives an overview of all possible kewords like "Unrestricted", maybe there
are more keywords?
I am now trying to make my match dll more secure, by restricting security
settings.
The dll only has math functionality, no registery, no dialog boxes, no file
access is needed, but it has to run from LAN netwok folders. It also needs
unsafe code.
This is why I try to find SecurityPermission, RegistryPermission,
ZoneIdentityPermission,...documentation that tells me what keywords exist
and how to set it.
Any help would be appreciated.
security stuff in .NET?
I know everything can be found online on the msdn but since I am new to this
security stuff, I have a very hard time to find the correct page in the
zillions of abstract pages talking about this topic.
One of the problems is this:
[assembly:FileIOPermission(SecurityAction.RequestMinimum,
Unrestricted=true)]
I can find information about FileIOPermission here:
http://msdn.microsoft.com/library/d...ritypermissionsfileiopermissionclasstopic.asp
I also fiund documentation of SecurityAction.RequestMinimum
But I cannot seem to find what parameters can be declared like
"Unrestricted=true".
I do find documentation about AllAccess, Append, NoAccess, PathDiscovery,
Read, Write, but the word "Unrestricted" is nowwhere seen on that page.
FileIOPermission is one example it would be nice to find some page that
gives an overview of all possible kewords like "Unrestricted", maybe there
are more keywords?
I am now trying to make my match dll more secure, by restricting security
settings.
The dll only has math functionality, no registery, no dialog boxes, no file
access is needed, but it has to run from LAN netwok folders. It also needs
unsafe code.
This is why I try to find SecurityPermission, RegistryPermission,
ZoneIdentityPermission,...documentation that tells me what keywords exist
and how to set it.
Any help would be appreciated.