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. Visual Basic
  4. Shadow user with another one

Shadow user with another one

Scheduled Pinned Locked Moved Visual Basic
question
2 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.
  • K Offline
    K Offline
    Kosta Pereira
    wrote on last edited by
    #1

    Hi! How can i copy a file into another computer send de command with the credentials of another user. I used windows authenticated and now i want to do: FileCopy("sourcepath", "destpath") but do this by another user who not the windows user on the machine. Kosta

    S 1 Reply Last reply
    0
    • K Kosta Pereira

      Hi! How can i copy a file into another computer send de command with the credentials of another user. I used windows authenticated and now i want to do: FileCopy("sourcepath", "destpath") but do this by another user who not the windows user on the machine. Kosta

      S Offline
      S Offline
      Steve Pullan
      wrote on last edited by
      #2

      You asked asimilar question on 31 May - and other people too. Must be a homework assignment or something? What you are attempting to do is essentially break the security model by impersonating another user. Get the owner of the server to share a disk resource to allow you to transfer the file or create a user on that server specifically for your use. Either way, you need sufficient rights to copy the file. ...Steve 1. quod erat demonstrandum 2. "Give a man a fish and you've fed him for a day. Teach him how to fish and you've fed him for life." I read that somewhere once :-) -- modified at 20:18 Thursday 1st June, 2006

      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