accessing files over intranet

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default accessing files over intranet

    Hi!

    How can I access files over intranet. I have mapped a
    server to the drive letter G and try to access a file
    from ASP.NET, but File.Exists("G:\filename.ext") returns
    false. The same code in Windows Forms return true, so I
    guess it has something to do with the permissions. I set
    all rights to the IUSR_machinename. This is enough to
    make it work locally on C: but not on G:

    any suggestions?

    /Miro
    Miro Guest

  2. Similar Questions and Discussions

    1. Using Contribute for intranet. Huge issue with externallinked files
      I'm looking like an idiot on this one. I built a intranet site for a client, and one person is using Dreamweaver, and 2 others are using Contribute....
    2. Urgent: Online files accessing local files Issue
      Hi.. We are working on a online project where we have some 600 MB videos. The complete project is made using flash & HTML.
    3. Problem accessing my Intranet Site
      :brokenheart; Hi, I have set up my PC as a Webserver. I am running Windows XP, IIS and COldfusion Application Server on my machine. I have...
    4. Links to Intranet files change
      I have created a pdf file which contains a link to an executable on our internal network. the link is in this format:...
    5. Accessing Outlook files
      I have a new operating system, XP, a new hard drive, shown as C drive, a new motherboard, new memory, etc. Essentially a new computer. I kept the...
  3. #2

    Default RE: accessing files over intranet

    Hi Miro,

    With a Windows Application, it will use your current logon account to
    access driver G:. With an ASP.NET application, It may use the accounts:
    "ASPNET", "IUSER_machinename" or others. This is determined by setting of
    IIS and ASP.NET configration. I suggest you can take a look at following
    article to see if you can resolve the problem with impernate:

    [url]http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q306158[/url]

    Luke
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    MSFT Guest

  4. #3

    Default RE: accessing files over intranet

    Thanks Luke!

    What solved this for me was two things. Uncheck
    the "anonymous access" in IIS and insert this:

    <identity impersonate="true"/>

    into web.config. Anyway I still have trouble making it
    work on Novell servers. It works WXP->W2000 and W2000-
    >W2000 but not W2000->Novell. I'm using windows
    authentication with adm rights. Any suggestions on this
    one?

    /Miro

    >-----Original Message-----
    >Hi Miro,
    >
    >With a Windows Application, it will use your current
    logon account to
    >access driver G:. With an ASP.NET application, It may
    use the accounts:
    >"ASPNET", "IUSER_machinename" or others. This is
    determined by setting of
    >IIS and ASP.NET configration. I suggest you can take a
    look at following
    >article to see if you can resolve the problem with
    impernate:
    >
    >[url]http://support.microsoft.com/default.aspx?scid=KB;EN-[/url]
    US;Q306158
    >
    >Luke
    >Microsoft Online Support
    >
    >Get Secure! [url]www.microsoft.com/security[/url]
    >(This posting is provided "AS IS", with no warranties,
    and confers no
    >rights.)
    >
    >.
    >
    Miro Guest

  5. #4

    Default RE: accessing files over intranet

    Hi Miro,

    Can you access the files on Novell via Windows application?

    Luke
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    MSFT Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139