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. Database & SysAdmin
  3. System Admin
  4. security for a service?

security for a service?

Scheduled Pinned Locked Moved System Admin
csharpcomsysadminsecurityhelp
4 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.
  • I Offline
    I Offline
    imran_rafique
    wrote on last edited by
    #1

    i have a simple network of two computer (xp prof installed on both).i have created a user on both machine with same name and password and both are members of admin.. group. i have created a service in c# i am running it in local system account. but i could not access any file on the network of another computer in my service of c#? could any body help me in this regard? r00d0034@yahoo.com

    F M 3 Replies Last reply
    0
    • I imran_rafique

      i have a simple network of two computer (xp prof installed on both).i have created a user on both machine with same name and password and both are members of admin.. group. i have created a service in c# i am running it in local system account. but i could not access any file on the network of another computer in my service of c#? could any body help me in this regard? r00d0034@yahoo.com

      F Offline
      F Offline
      fesenjoon
      wrote on last edited by
      #2

      Services run as the local SYSTEM user on a computer. So when you want to access a remote file you must login as a valid user on the remote computer.

      1 Reply Last reply
      0
      • I imran_rafique

        i have a simple network of two computer (xp prof installed on both).i have created a user on both machine with same name and password and both are members of admin.. group. i have created a service in c# i am running it in local system account. but i could not access any file on the network of another computer in my service of c#? could any body help me in this regard? r00d0034@yahoo.com

        F Offline
        F Offline
        fesenjoon
        wrote on last edited by
        #3

        Services run as the local SYSTEM user on a computer. So when you want to access a remote file you must login as a valid user on the remote computer. I don't khow any way to login in a computer by programming. If you found a way please write it to me. Thanks.

        1 Reply Last reply
        0
        • I imran_rafique

          i have a simple network of two computer (xp prof installed on both).i have created a user on both machine with same name and password and both are members of admin.. group. i have created a service in c# i am running it in local system account. but i could not access any file on the network of another computer in my service of c#? could any body help me in this regard? r00d0034@yahoo.com

          M Offline
          M Offline
          Michael Dunn
          wrote on last edited by
          #4

          This is a FAQ - I've written a service and it can't access mapped network drives. Why?[^] --Mike-- When 900 years old you reach, look as good you will not. Hmm. 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

          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