G
Ginny
hi,
what exactly is code being type safe??
the documentation says...
------------------------------
As part of compiling MSIL to native code, code must pass a verification
process unless an administrator has established a security policy that
allows code to bypass verification. Verification examines MSIL and metadata
to find out whether the code is type safe, which means that it only accesses
the memory locations it is authorized to access. Type safety helps ensure
that objects are safely isolated from each other and are therefore safe from
inadvertent or malicious corruption. It also provides assurance that
security restrictions on code can be reliably enforced.
The runtime relies on the fact that the following statements are true for
code that is verifiably type safe:
a.. A reference to a type is strictly compatible with the type being
referenced.
b.. Only appropriately defined operations are invoked on an object.
c.. Identities are what they claim to be.
what exactly is code being type safe??
the documentation says...
------------------------------
As part of compiling MSIL to native code, code must pass a verification
process unless an administrator has established a security policy that
allows code to bypass verification. Verification examines MSIL and metadata
to find out whether the code is type safe, which means that it only accesses
the memory locations it is authorized to access. Type safety helps ensure
that objects are safely isolated from each other and are therefore safe from
inadvertent or malicious corruption. It also provides assurance that
security restrictions on code can be reliably enforced.
The runtime relies on the fact that the following statements are true for
code that is verifiably type safe:
a.. A reference to a type is strictly compatible with the type being
referenced.
b.. Only appropriately defined operations are invoked on an object.
c.. Identities are what they claim to be.