CAS not working for VS2010 mapped drive

后端 未结 2 1913
礼貌的吻别
礼貌的吻别 2021-01-15 16:01

I have a project using subsonic that I developed in Visual Studio 2008 on C: drive. No problem there. I\'ve just upgraded to Visual Studio 2010 (and as my computer coincide

2条回答
  •  走了就别回头了
    2021-01-15 17:01

    Maybe I'm wrong (I did not look this up) but I think you need to work with strong names when working on mapped drives. Like

    caspol -m -q -ag My_Machine_Zone -url g:\* Nothing -n "GDrive"

    caspol -m -q -ag "GDrive" -strong -file "" "" "" FullTrust -n "GDriveFileX" -d "Code Group for fileX"

    I would always create a toplevel group so you can easily modify or remove the policy later on. I think it makes sense not to allow to give full trust to a mapped drive based on the uri e ven though this is painfull.

    If possible use something more modern.

提交回复
热议问题