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. Impersonation

Impersonation

Scheduled Pinned Locked Moved ASP.NET
sysadminhelpquestionasp-net
5 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
    ellllllllie
    wrote on last edited by
    #1

    Hello, I need to copy a file from client to server folder using vbscript. the folder on the server should not be accessed, so i allow only the aspnet user to access it. when i try to copy that file file.scriptingojectsystem.. it give me an error, when i add the Ressource account to the folder everything run correctly but i can access thqat folder from client. how can i resolve this issue, Any idea is appreciated? or how can i impersonate the Network user account and not the netwrok service account in the config file. regards.

    dghdfghdfghdfghdgh

    A 1 Reply Last reply
    0
    • E ellllllllie

      Hello, I need to copy a file from client to server folder using vbscript. the folder on the server should not be accessed, so i allow only the aspnet user to access it. when i try to copy that file file.scriptingojectsystem.. it give me an error, when i add the Ressource account to the folder everything run correctly but i can access thqat folder from client. how can i resolve this issue, Any idea is appreciated? or how can i impersonate the Network user account and not the netwrok service account in the config file. regards.

      dghdfghdfghdfghdgh

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Which IIS version are you using ?

      cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

      E 1 Reply Last reply
      0
      • A Abhijit Jana

        Which IIS version are you using ?

        cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

        E Offline
        E Offline
        ellllllllie
        wrote on last edited by
        #3

        i am using iis 6.0

        dghdfghdfghdfghdgh

        A 1 Reply Last reply
        0
        • E ellllllllie

          i am using iis 6.0

          dghdfghdfghdfghdgh

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          Try to create a different application pool and change the Identity to Local System . Then asign the application pool to your site.

          cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

          E 1 Reply Last reply
          0
          • A Abhijit Jana

            Try to create a different application pool and change the Identity to Local System . Then asign the application pool to your site.

            cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

            E Offline
            E Offline
            ellllllllie
            wrote on last edited by
            #5

            P.S: The folder on the server is a websharing folder and i canot access it from iis. 10x

            dghdfghdfghdfghdgh

            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