[Mono-dev] Mono[CoreCLR] security attributes in Platform assembly

Anshya Aggarwal anshya.aggarwal at gmail.com
Thu Feb 9 06:11:34 UTC 2012


Hi Alan,

As you said I am already embedding mono in my framework, enabling core-clr
and also registering all function callbacks to determine platform code.
Here my requirements are to restrict access to FileIO and system calls. I
am able to achieve a part of it by enabling core-clr but not the FileIO
part.
Can you provide some information on how to go about the FileIO restrictions.

On Thu, Feb 9, 2012 at 11:41 AM, Anshya Aggarwal
<anshya.aggarwal at gmail.com>wrote:

>
>
> On Wed, Feb 8, 2012 at 8:00 PM, Alan <alan.mcgovern at gmail.com> wrote:
>
>> These attributes are only generated as part of the moonlight build. There
>> is no way to create them unless you modify the Makefiles to allow them to
>> be generated in an alternate way. This is also not something which we
>> should enable by default because it increases build time significantly and
>> is useless unless you are also embedding mono and do all necessary function
>> calls when loading libmono to enable coreclr.
>> http://www.mono-project.com/CoreClrHowTo
>>
>> Alan
>>
>> On 8 February 2012 09:20, Anshya Aggarwal <anshya.aggarwal at gmail.com>wrote:
>>
>>> Hi All,
>>>
>>> I am building the mono with --with-moonlight=no, as per my knowledge
>>> mono dont have core-clr security
>>> attributes(safecritical/critical/transparent)
>>> enabled by default in mscorlib.dll or system.dll etc if moonlight flag
>>> is not enabled at compilation. So, I want to know that is there a way to
>>> have all
>>> the security attributes in my assembly without enabling moonlight flag.
>>>
>>>
>>> --
>>> Regards,
>>> Anshya
>>>
>>>
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>>
>>
>
>
> --
> Regards,
> Anshya Aggarwal
>
>


-- 
Regards,
Anshya Aggarwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120209/facf8994/attachment.html>


More information about the Mono-devel-list mailing list