Re: Have asp.net-hosted WinControl write to client

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

  • Next message: Martin: "Re: Require SSL certificate"
    Date: Tue, 03 May 2005 22:35:37 -0700
    
    

    Hello Mark,

    you may first try to give it full trust (just to see that it works) and after
    that locking down the permissions...

    HTH

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

    > Hello,
    > I know that you can host a WinControl in ASP.Net. If I want my
    > Windows User
    > Control to be able to write to the client's file system (or access a
    > database, or any other secure action), how could I configure security
    > to allow this?
    >
    > I thought I could use .Net Configuration Wizard >
    > RuntimeSecurityPolicy >
    >
    > CodeGroups. I gave the codegroup the Url as evidence to match the page
    > with the WinControl. I then gave it the file IO permission.
    >
    > I still get the error: "The application attempted to perform an
    > operation not allowed by the security policy. The operation required
    > the SecurityException...
    > System.Security.Permissions.FileIOPermission..."
    >
    > Any ideas what else needs to be done?
    >
    > Thanks,
    > Mark


  • Next message: Martin: "Re: Require SSL certificate"

    Relevant Pages

    • AW: ASP Dot Net Security Guidelines
      ... i have set up 2 dotnet server and did a pen-test of a dotnet server for ... i wouldn't focus so much on the file system permissions. ... ASP Dot Net Security Guidelines ...
      (Focus-Microsoft)
    • Re: DC Policy: just want to audit files, not set security
      ... the particular directory to root the auditing ... different permissions within the area. ... >> I had never thought of using a SCE template File System ... >>> lot of events in the security log. ...
      (microsoft.public.windows.server.security)
    • Have asp.net-hosted WinControl write to client
      ... Control to be able to write to the client's file system (or access a ... database, or any other secure action), how could I configure security to ... CodeGroups. ... allowed by the security policy. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: How to set permissions on exchange Store folders using WEBDav in C#
      ... Yes you are right file system permissions on M: ... When you say Filesystem - are you using the M: drive to check the security ... I am using folder securtity according to the example given. ...
      (microsoft.public.exchange.development)
    • Have asp.net-hosted WinControl write to clients file.
      ... Control to be able to write to the client's file system (or access a ... allowed by the security policy. ... CodeGroups. ... asp.net-hosted winControl. ...
      (microsoft.public.dotnet.framework.aspnet)