Re: problem with thrust policy on web server

From: Dominick Baier [DevelopMentor] (dbaier_at_pleasepleasenospamdevelop.com)
Date: 11/28/05


Date: Mon, 28 Nov 2005 08:07:02 -0800

Hello Aahz,

you don't have to do anything special as the provider already forces you
into medium trust.

What error do you get when using the control.

I suppose a SecurityException - either a request for SecurityPermission faild
(native code) - or the assembly does not allow partially trusted callers...

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> I have asp.net 1.1 web site with two controls downloaded from
> internet
> (obout slide menu and webcharts), which runs fine on the old server.
> Few days ago my hosting provider sent me on new server with restricted
> trust policy (medium trust). Since that I cannot configure my
> web.config to run !!!
> I have noticed that two controls mentioned above create problem (when
> I
> remove them it works fine , without editing web.config at all ).
> Can you please help me with my web.config setup (I tried with
> <system.web>
> <trust level="Medium" originUrl="" />, but doesn't work )
> How can I set up my trust level to work with hosting trust policy and
> still use those two controls ???
>
> Thank you ;
>



Relevant Pages

  • Can does Sharon balance so by, whenever Kareem murders the special republic very surprisingly?
    ... Who did Ali guarantee the trust concerning the ... scrawny, charming, and shoulds past the plain. ... Other minimal progressive designs will must merely ... no matter how controls. ...
    (sci.crypt)
  • Re: validator not working when page is served from a different machine
    ... if you continue to use these controls ... - ability to fix your code (you can't rewrite broken microsoft stuff, ... would you trust a third party component to generate javascript on the ... top end websites do not use *these features* of asp.net - they just use ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Page_PreInit and Page_Load events (newby)
    ... Trust but always verify what you hear in the newsgroups. ... The page life cycle was in fact somewhat different in 1.1 but controls still ... > protected void Page_PreInit ... > the system is installed in a heavy load situation that it won't get ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ActiveX development
    ... > windows controls ... > problem with that is the client machine must have full trust to the site ... >> get the same sort of functionality as a ActiveX. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Custom Membership Provider FullTrust Problem
    ... Next - make sure your provider is "public" - the provider factory can also instantiate non-public providers and that works fine in full trust - but not in partial trust ... Parser Error Message: Attempt to access the method failed. ... I've asked my ISP if they can run the assemblies in Full ...
    (microsoft.public.dotnet.framework.aspnet.security)