Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Running application on a network mapped drive

Running application on a network mapped drive

Scheduled Pinned Locked Moved C#
questiondelphisysadminsecurityannouncement
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Matjaz xyz
    wrote on last edited by
    #1

    Hi. If i try to run my applications on a mapped drive i get a security warning in the top left corner of the applications window. And apllication doesn't work as it gives me an information window : "Application attempted to perform an operation not allowed by the security policy. ... Request for the permission of type 'System.Security.Permissions.FileIOPPermission, mscorlib, version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' How can i make my applications work in such an envirioment? I've seen normal delphi apps work :) Thanks in advance!

    Regards, Matjaž

    N 1 Reply Last reply
    0
    • M Matjaz xyz

      Hi. If i try to run my applications on a mapped drive i get a security warning in the top left corner of the applications window. And apllication doesn't work as it gives me an information window : "Application attempted to perform an operation not allowed by the security policy. ... Request for the permission of type 'System.Security.Permissions.FileIOPPermission, mscorlib, version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' How can i make my applications work in such an envirioment? I've seen normal delphi apps work :) Thanks in advance!

      Regards, Matjaž

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      It is because of the code access security. Read about Caspol.exe[^]. This[^] blog post can also help. :)

      Navaneeth How to use google | Ask smart questions

      M 1 Reply Last reply
      0
      • N N a v a n e e t h

        It is because of the code access security. Read about Caspol.exe[^]. This[^] blog post can also help. :)

        Navaneeth How to use google | Ask smart questions

        M Offline
        M Offline
        Matjaz xyz
        wrote on last edited by
        #3

        Thanks for your answer! So that means there's no way to get applications running by adding some extra code? Only localy with administrator account and change some settings?

        Regards, Matjaž

        N L 2 Replies Last reply
        0
        • M Matjaz xyz

          Thanks for your answer! So that means there's no way to get applications running by adding some extra code? Only localy with administrator account and change some settings?

          Regards, Matjaž

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          Matjaž Grahek wrote:

          So that means there's no way to get applications running by adding some extra code?

          I am not sure, but I think there is no other way.

          Navaneeth How to use google | Ask smart questions

          1 Reply Last reply
          0
          • M Matjaz xyz

            Thanks for your answer! So that means there's no way to get applications running by adding some extra code? Only localy with administrator account and change some settings?

            Regards, Matjaž

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            It wouldn't be providing much security if you could simply bypass it.. :doh:

            I are troll :)

            M 1 Reply Last reply
            0
            • L Lost User

              It wouldn't be providing much security if you could simply bypass it.. :doh:

              I are troll :)

              M Offline
              M Offline
              Matjaz xyz
              wrote on last edited by
              #6

              hehehe:) true:) well... thanks anyway:)

              Regards, Matjaž

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups