Right now you would have to rebuild the DLLs from the sources and set the
security level yourself. There are long articles about this, and some (like
System.Web) from Microsoft
themselves are not marked with that attribute. Considering that this might
open a big security hole in your systems, i have so far decided that if you
need to run in an untrusted server
environment, you better make a conscious decision and rebuild the DLLs for
that purpose (easy to do: change the assembly.cs file, add using
System.Security and the assembly: AllowPartiallyTrustedCallers attribute).

But note, it is a security risk, or at least it might be, pending your
situation.

I will spend a while reviewing the code for security risks again, and maybe
add another set of DLLs to the repository that are marked this way for
future use.


Frank Mantek
Google



On 4/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> I have a Google DLL that I would like to use on my website to access
> some information from the Google domain such as their pictures. and I
> have it in my bin directory but I get this error
> "System.Security.SecurityException: That assembly does not allow
> partially trusted callers." Is there any way to change the permission
> level on it?  I am trying to use this to get to my Picasa web albums,
> and with a better look then Google can give us.
>
> Any help would be appreciated.
>
> C
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to google-help-dataapi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to