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. Web Development
  3. ASP.NET
  4. Web Service Security

Web Service Security

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-netsecurityxml
4 Posts 2 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.
  • E Offline
    E Offline
    ehuysamer
    wrote on last edited by
    #1

    I was wondering if anyone familiar with .NET security could help me. I've got a web service (written in ASP.NET, C#) that has to write to XML files on a different drive. This causes a security exception (as can be expected). Question is, how do I grant this web service the neccesary permissions to write to files in a different folder? The files are not read-only, and the OS file-level permissions appears to be set up correctly. Thanks

    M 3 Replies Last reply
    0
    • E ehuysamer

      I was wondering if anyone familiar with .NET security could help me. I've got a web service (written in ASP.NET, C#) that has to write to XML files on a different drive. This causes a security exception (as can be expected). Question is, how do I grant this web service the neccesary permissions to write to files in a different folder? The files are not read-only, and the OS file-level permissions appears to be set up correctly. Thanks

      M Offline
      M Offline
      Mohammad Dabaan
      wrote on last edited by
      #2

      hi, i think u have to write: try it ok Thanks alot Metal Man

      1 Reply Last reply
      0
      • E ehuysamer

        I was wondering if anyone familiar with .NET security could help me. I've got a web service (written in ASP.NET, C#) that has to write to XML files on a different drive. This causes a security exception (as can be expected). Question is, how do I grant this web service the neccesary permissions to write to files in a different folder? The files are not read-only, and the OS file-level permissions appears to be set up correctly. Thanks

        M Offline
        M Offline
        Mohammad Dabaan
        wrote on last edited by
        #3

        write--->> in web.config under authurization Thanks alot Metal Man

        1 Reply Last reply
        0
        • E ehuysamer

          I was wondering if anyone familiar with .NET security could help me. I've got a web service (written in ASP.NET, C#) that has to write to XML files on a different drive. This causes a security exception (as can be expected). Question is, how do I grant this web service the neccesary permissions to write to files in a different folder? The files are not read-only, and the OS file-level permissions appears to be set up correctly. Thanks

          M Offline
          M Offline
          Mohammad Dabaan
          wrote on last edited by
          #4

          the sentence is : identity impersonate="true" between <> Thanks alot Metal Man

          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