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. Creating Directory Across Networks

Creating Directory Across Networks

Scheduled Pinned Locked Moved ASP.NET
helpsysadminsecurity
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.
  • S Offline
    S Offline
    sasidar_d
    wrote on last edited by
    #1

    hi everybody I have a small problem while creating directory. I am able to create the directory in the local machine. but the same is not working while i try to create in the network It says "Access is denied" i think it is some thing to do with security but unable to track the error. Any body please help me out. I have placed the code below for u gurus mypath = if not directory.exists(mypath) then directory.createdirectory(mypath) end if sasidar

    P 1 Reply Last reply
    0
    • S sasidar_d

      hi everybody I have a small problem while creating directory. I am able to create the directory in the local machine. but the same is not working while i try to create in the network It says "Access is denied" i think it is some thing to do with security but unable to track the error. Any body please help me out. I have placed the code below for u gurus mypath = if not directory.exists(mypath) then directory.createdirectory(mypath) end if sasidar

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      You need to give the ASPNET account write rights on the folder within which you are trying to create the new folder. Right click the folder, select the Security tab and add the rights. Try not to do this on the root folder though, do it on single sub-folders preferably. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand?

      S 1 Reply Last reply
      0
      • P Paul Watson

        You need to give the ASPNET account write rights on the folder within which you are trying to create the new folder. Right click the folder, select the Security tab and add the rights. Try not to do this on the root folder though, do it on single sub-folders preferably. regards, Paul Watson Bluegrass South Africa Brian Welsch wrote: "blah blah blah, maybe a potato?" while translating my Afrikaans. Crikey! ain't life grand?

        S Offline
        S Offline
        sasidar_d
        wrote on last edited by
        #3

        I have given the write permission to everyone in the root folder of the network folder. but still the problem persists i heard about that i have to change the automatic generated password to static password of the aspnet account. can u tell me how to set the same bye regards sasidar

        N 1 Reply Last reply
        0
        • S sasidar_d

          I have given the write permission to everyone in the root folder of the network folder. but still the problem persists i heard about that i have to change the automatic generated password to static password of the aspnet account. can u tell me how to set the same bye regards sasidar

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Firstly as Paul mentioned don't set your permission at the root. Secondly it is recommanded that the everyone group be disabled for security reasons anyway so you should be giving it permissions to anything. The ASP.NET account is the one you want to set permissions for.

          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