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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Acess a file from network using Username and password

Acess a file from network using Username and password

Scheduled Pinned Locked Moved C#
csharpasp-netsysadmintutorial
3 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.
  • V Offline
    V Offline
    venu656
    wrote on last edited by
    #1

    Hi Experts, i want to download a file from Network with different domain with credentials of some particular user who has rights to access the file in destination computer.. for example i have a network system with ip:\\100.120.2.3 in that we have a file in d drive where it can be acessed by xyz user .Now my criteria is to download a file from that folder from my system by passing credentials of that particular xyz user in asp.net Regards venu

    K 1 Reply Last reply
    0
    • V venu656

      Hi Experts, i want to download a file from Network with different domain with credentials of some particular user who has rights to access the file in destination computer.. for example i have a network system with ip:\\100.120.2.3 in that we have a file in d drive where it can be acessed by xyz user .Now my criteria is to download a file from that folder from my system by passing credentials of that particular xyz user in asp.net Regards venu

      K Offline
      K Offline
      Keith Barrow
      wrote on last edited by
      #2

      One solution is to make the container directory virtual and then change the web.config to restrict access to the file and/or the directory Here[^] are a group of to get you started.

      Sort of a cross between Lawrence of Arabia and Dilbert.[^]
      -Or-
      A Dead ringer for Kate Winslett[^]

      V 1 Reply Last reply
      0
      • K Keith Barrow

        One solution is to make the container directory virtual and then change the web.config to restrict access to the file and/or the directory Here[^] are a group of to get you started.

        Sort of a cross between Lawrence of Arabia and Dilbert.[^]
        -Or-
        A Dead ringer for Kate Winslett[^]

        V Offline
        V Offline
        venu656
        wrote on last edited by
        #3

        But i should pass the credentials in code and i should download a file instead of showing credentials to the user

        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