SQL-APIConsumer icon indicating copy to clipboard operation
SQL-APIConsumer copied to clipboard

APIConsumer as EXTERNAL_ACCESS

Open rjwijnen opened this issue 5 years ago • 3 comments

I am wondering if it isn't possible to run de API_Consumer assembly in 'EXTERNAL_ACCESS' instead of UNSAFE?

rjwijnen avatar Aug 20 '20 12:08 rjwijnen

Hi @rjwijnen,

Yes, you could create it as EXTERNAL_ACCESS instead, but you would need to import a few more dlls. For instance; System.Security.Permissions, and anothers dependencies. When calling any CLR procedure.

image

geral2 avatar Aug 20 '20 16:08 geral2

@rjwijnen Did you try doing it?

geral2 avatar Aug 26 '20 18:08 geral2

@geral2 i haven't had time for it to try. But for my understanding i need to add 'System.Security.Permission' as an assembly in SQL server?

rjwijnen avatar Sep 04 '20 07:09 rjwijnen