Re: Failure to set credentials

From: Steven Cheng[MSFT] (stcheng_at_online.microsoft.com)
Date: 07/26/05

  • Next message: Abdul Khaliq: "Re: Customize CreateUserWizard"
    Date: Tue, 26 Jul 2005 02:22:53 GMT
    
    

    Hi Philip,

    Yes, for your scenario, if you need to make such configuration more simple
    for deployment, currently the recommend means is to make a script or bat
    file which call the caspol.exe tool to create the codegroup on the machine
    (instead of interactively in the configuration tool).

    #Adding Code Groups
    http://msdn.microsoft.com/library/en-us/cpguide/html/cpconaddingcodegrouptoc
    odegrouphierarchy.asp?frame=true

    Thanks,

    Steven Cheng
    Microsoft Online Support

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

    --------------------
    | From: "Philip Colmer" <pcolmer@newsgroup.nospam>
    | References: <uz9jXbTjFHA.3540@TK2MSFTNGP14.phx.gbl>
    <pzvMP5ZjFHA.588@TK2MSFTNGXA01.phx.gbl>
    <#EJZT$cjFHA.1948@TK2MSFTNGP12.phx.gbl>
    <2RXhBdmjFHA.3472@TK2MSFTNGXA01.phx.gbl>
    <#4P#CmrjFHA.3580@TK2MSFTNGP09.phx.gbl>
    <7DqPJ7LkFHA.940@TK2MSFTNGXA01.phx.gbl>
    | Subject: Re: Failure to set credentials
    | Date: Mon, 25 Jul 2005 13:42:11 +0100
    | Lines: 57
    | X-Priority: 3
    | X-MSMail-Priority: Normal
    | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
    | X-RFC2646: Format=Flowed; Original
    | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
    | Message-ID: <OGqcIZRkFHA.3452@TK2MSFTNGP10.phx.gbl>
    | Newsgroups: microsoft.public.dotnet.framework.aspnet.security
    | NNTP-Posting-Host: host-news.chadwyck.co.uk 195.22.151.243
    | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
    | Xref: TK2MSFTNGXA01.phx.gbl
    microsoft.public.dotnet.framework.aspnet.security:6096
    | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.security
    |
    |
    | "Steven Cheng[MSFT]" <stcheng@online.microsoft.com> wrote in message
    | news:7DqPJ7LkFHA.940@TK2MSFTNGXA01.phx.gbl...
    | > Hi Philip,
    | >
    | > Well, now we can confirm this to the .net CAS problem. Currently what we
    | > should do is to add a certain codegroup in the .NET's CAS cofiguration
    for
    | > the managed components(assemblies) loaded from your sharepoint form
    | > library.
    | >
    | > Based on my understanding, we ought to add a custom codegroup(for the
    form
    | > components loaded from form library) under the LOCAL Intranet zone. You
    | > can
    | > verify this by using the "Adjust Zone Security" fucntion when selecting
    | > the
    | > "Runtime Security Policy" node in the left view. (Adjust the trust
    level
    | > to
    | > FullControl for Local Intranet zone).
    | >
    | > If the above test can make the info path form (from form library) work,
    | > then rollback the above change and try adding a new custom codegroup
    under
    | > the All_Code-->LocalIntranet_Zone group. When creating the codegroup,
    | > choose "URL" as the condition type and type your sharepoint FormLibrary
    | > site's url, something like:
    | >
    | > "http://sharepointserver/*"
    | >
    | > and grant this codegroup FullTrust permissions.
    | >
    | > After that, please close IE and relaunch it and test the infopath from
    | > from
    | > formlibrary to see whether it works.
    | >
    | > #Configuring Code Groups Using the .NET Framework Configuration Tool
    | >
    http://msdn.microsoft.com/library/en-us/cpguide/html/cpconusingnetconfigurat
    | > iontooltoworkwithcodegroups.asp?frame=true
    | >
    | >
    | > In addition, all the configuration I mentioned above (through the .NET
    | > configuration tool GUI) can also be done trough the caspol.exe command
    | > line
    | > tool:
    | >
    | > #caspol.exe Adding Code Groups
    | >
    http://msdn.microsoft.com/library/en-us/cpguide/html/cpconaddingcodegrouptoc
    | > odegrouphierarchy.asp?frame=true
    |
    | Steven
    |
    | Thank you for that. I've now got this working on my PC. What would be
    your
    | recommendation for the best/easiest method of deploying this to all of
    the
    | computers? I cannot find a Group Policy setting for CAS - is there one or
    do
    | I need to write a logon script that uses caspol?
    |
    | --Philip
    |
    |
    |


  • Next message: Abdul Khaliq: "Re: Customize CreateUserWizard"

    Relevant Pages

    • help with a home network jumpstart
      ... I have the blade running BIND 8 to serve DNS to the home network. ... Here's the output of the boot net - install: ... Using RPC Bootparams for network configuration information. ... Using begin script: install_begin ...
      (SunManagers)
    • Jumpstart: syntax error and trying to load from /cdrom media, which disk to use for Solaris 8 image
      ... I'm not sure if I need to use that disk or the Solaris 8 Installation ... Using RPC Bootparams for network configuration information. ... Using finish script: diag_drv.fin ... Executing JumpStart preinstall phase... ...
      (SunManagers)
    • Re: Some basic unix directory listing questions (long)
      ... I use this method extensively for perl "suites" which bring their ... own libraries, configuration files, etc with them. ... directory of your script. ... As for hard links - no chance. ...
      (comp.unix.shell)
    • Re: Quarantine rqc parameter details
      ... You can find quarntine configuration details at ... Name of the VPN connectiod. ... <String>: This is the shared secret key that client and server knows about. ... You can call rqc with appropriate parameters using VB script. ...
      (microsoft.public.isa.vpn)
    • Re: Quarantine rqc parameter details
      ... You can find quarntine configuration details at ... Name of the VPN connectiod. ... <String>: This is the shared secret key that client and server knows about. ... You can call rqc with appropriate parameters using VB script. ...
      (microsoft.public.isa)