Re: accessing mapped drives in ASP.NET application

From: Raterus (raterus_at_spam.org)
Date: 07/27/04


Date: Tue, 27 Jul 2004 11:03:40 -0400

Well you are in the right place, though this can be a pain, so be prepared.

First, I wouldn't access "mapped" drives, like N:\, but shares, "\\servername\share", those are UNC paths, and much more compatible than using drive names, since the account that is accessing them doesn't need to have them mapped.

As for actually having permissions to access them, that really depends on how you have set up the security in your application, can you explain what you are after?

"Farooq Khan" <farooq@softechww.com> wrote in message news:%23yLSvS9cEHA.1384@TK2MSFTNGP10.phx.gbl...
> hi,
> is there any way i can access mapped drive through ASP.NET application?? i
> have tried doing that the standard way but didnt work, used the same code in
> win32 application and it worked fine though.
> thanks
> Farooq Khan
>
>



Relevant Pages

  • Re: how can I run .net logon script application
    ... Win32 Version: 1.1.4322.573 ... To enable just in time debugging, ... > A PolicyException can be addressed by adjusting the CAS policy. ... > permissions not granted to non-admin users, but I can't be sure without the ...
    (microsoft.public.dotnet.security)
  • Re: Main advantage of .NET
    ... .NET sits over NT security, so you get everything that is already ... of the code that's about to run and gives the code appropriate permissions. ... but note that SQL injection is still possible, so if you create a SQL ... #4 is incredibly useful and has no equivalent at all in Win32. ...
    (microsoft.public.dotnet.framework)
  • Re: How do I check the available permissions
    ... I am afraid you are mixing two types of permissions: ... and user permissions (Win32). ... assemblies running on a local drive (not on a ... "Arun" wrote in message ...
    (microsoft.public.dotnet.security)
  • Re: How do I check the available permissions
    ... I am afraid you are mixing two types of permissions: ... and user permissions (Win32). ... assemblies running on a local drive (not on a ... "Arun" wrote in message ...
    (microsoft.public.dotnet.security)
  • Re: codec for xine - where to put it?
    ... > win32. ... > directory are readable by users, i.e. check the permissions. ... > us the error message. ... Video Codec Indeo Video ...
    (comp.os.linux.misc)