work with caspol

From: Bart Jacobs (bart.jacobs_at_student.kuleuven.ac.be)
Date: 05/08/03

  • Next message: Per Vestergaard-Laustsen: "DES ECB Encryption cannot decrypt"
    Date: Thu, 8 May 2003 02:28:07 -0700
    
    

    If the machine policy grants only the Intranet permission
    set to your application, then your application will never
    get more permissions than the Intranet permission set,
    regardless of the user policy.

    So either you get the machine's administrator to increase
    the permissions granted to your application, or you
    rewrite your application so that it only requires the
    Intranet permission set, or you get the user to install
    your application on a local disk.

    >-----Original Message-----
    >Hello everyone,
    >
    >I did the .net windows application MyApplication.exe.
    >The MyApplication.exe is on the network drive.
    >
    >I try:
    >1.CasPol -machine -addgroup All_Code -strong -file
    >p:\myfolder\MyApplication.exe -noname -noversion
    >FullTrust -name "MyApplication" -description "Code group
    >granting Trust to code signed by MyApplication"
    >
    >It is works. But my user has not the permissions to
    change
    >the machine level policy.
    >
    >2.if I have changed to (-machine to -user)
    >
    >CasPol -user -addgroup All_Code -strong -file
    >p:\myfolder\MyApplication.exe -noname -noversion
    >FullTrust -name "MyApplication" -description "Code group
    >granting Trust to code signed by MyApplication"
    >
    >It said "Success". But the MyApplication does not run it
    >gives the error.
    >
    >Is it possible for user to run the MyApplication.exe?
    >What I have to do to run the MyApplication for user from
    a
    >networkdrive?
    >
    >Thank you,
    >
    >Sergei.
    >.
    >


  • Next message: Per Vestergaard-Laustsen: "DES ECB Encryption cannot decrypt"
  • Quantcast