Changing policy

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    #1

    Changing policy

    I can't run a program from other computers on the local
    network because the program contains an unsafe module (has
    pointer). Can I create some policy associate with the
    program so that I can run it from other machine?

    Thanks

    John
  • Rajasi Saha

    #2
    Re: Changing policy

    You can strong name the unsafe assembly and then change policy on the
    machine to run it on as follows:

    caspol -m -cg 1.2 -strong -file a.exe -noname -noversion FullTrust

    rajasi

    "John" <jliang@compucy te.com> wrote in message
    news:058401c35a d4$9da8ae30$a30 1280a@phx.gbl.. .[color=blue]
    > I can't run a program from other computers on the local
    > network because the program contains an unsafe module (has
    > pointer). Can I create some policy associate with the
    > program so that I can run it from other machine?
    >
    > Thanks
    >
    > John[/color]


    Comment

    • John

      #3
      Re: Changing policy

      Thank you very much for the input. It works fine

      John
      [color=blue]
      >-----Original Message-----
      >You can strong name the unsafe assembly and then change[/color]
      policy on the[color=blue]
      >machine to run it on as follows:
      >
      >caspol -m -cg 1.2 -strong -file a.exe -noname -noversion[/color]
      FullTrust[color=blue]
      >
      >rajasi
      >
      >"John" <jliang@compucy te.com> wrote in message
      >news:058401c35 ad4$9da8ae30$a3 01280a@phx.gbl. ..[color=green]
      >> I can't run a program from other computers on the local
      >> network because the program contains an unsafe module[/color][/color]
      (has[color=blue][color=green]
      >> pointer). Can I create some policy associate with the
      >> program so that I can run it from other machine?
      >>
      >> Thanks
      >>
      >> John[/color]
      >
      >
      >.
      >[/color]

      Comment

      Working...