RE: caspol & local intranet security

From: MSFT (lukezhan_at_online.microsoft.com)
Date: 01/16/04

  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: Complicated Fallback ASP.NET Security"
    Date: Fri, 16 Jan 2004 03:01:45 GMT
    
    

    Hi Adam,

    Thank you for using MSDN Newsgroup. I am Luke and I am review this issue
    currently. As I understand, you want to find some way which can change the
    Zone Security setting for intranet. Regarding the problem, I think
    Caspol.exe should be a good solution: It can create/modify code group's
    attributes in the code access security setting:

    Changing Code Groups
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
    l/cpconchangingcodegroup.asp

    In your situation, you need follow command:

    Caspol -machine -chggroup LocalIntranet_Zone Fulltrust

    or

    Caspol -machine -chggroup 1.2 Fulltrust

    This will grant full trust to local intranet code group.

    For more information on caspol, you may refer to:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
    l/cpconusingcodeaccesssecuritypolicytoolcaspolexe.asp

    Hope this help,

    Luke
    Microsoft Online Support

    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)


  • Next message: Joe Kaplan \(MVP - ADSI\): "Re: Complicated Fallback ASP.NET Security"

    Relevant Pages

    • RE: caspol & local intranet security
      ... Hi Adam, ... I am Luke and I am review this issue ... Changing Code Groups ... This will grant full trust to local intranet code group. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: Code Group Security policy deployment
      ... I've been using caspol for testing and development, but want to have a nicer ... solution than run batch files on every system. ... Using the Code Access Security Policy tool you can write ... >> the installer on another system, where settings of existing code groups ...
      (microsoft.public.dotnet.security)
    • Re: Faillure to run .NET 2.0 app from UNC
      ... I've done a CASPOL -rsg 'assemblyname' on my machine, ... Copyright Microsoft Corporation. ... Code Groups: ... Zone - Intranet: LocalIntranet ...
      (microsoft.public.dotnet.framework)