CreateDirectory/Delete permission

From: Paul (paul@abc.com)
Date: 09/21/02


From: "Paul" <paul@abc.com>
Date: Sat, 21 Sep 2002 13:03:29 -0700


Hi,

In the Session_Start handler of my intranet application,
I create a new directory using Directory.CreateDirectory
() and in Session_End handler, I delete this directory
using Directory.Delete().

First, I had a problem with ASPNET not having permission
to create the directory. I used Integrated Windows
authentication so users don't have to explicitly log on.
I later turned on Impersonation and that allowed ASPNET
to create the directory.

But I'm still having a problem with deleting the
directory.

My questions are 1) What are the implications of tuning
on impersonation? 2) Would the network admin have to do
anything extra to support impersonation? and 3) What more
do I need to do to allow deletion?

Many thanks in advance,
Paul



Relevant Pages

  • RE: Linkbutton to previous page
    ... to do it from with in an aspnet c# page. ... Create an asp button control named back and create a handler to its ... ITWorx on behalf of Microsoft EMEA GTSC ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Textbox select all content when tabbed
    ... > Try entering and deleting the text in a text box and tab to and from it, ... > then it won't auto-select the entire text. ... Add a handler to the textbox's 'GocFocus' event (you will ...
    (microsoft.public.dotnet.languages.vb)
  • Re: pass CString?
    ... responsible for deleting the data when it is done (I.E., ... Alternatively you could use SendMessage and wait for the handler to finish ... >> I want to pass an array of UINT to another window through postmessage. ...
    (microsoft.public.vc.mfc)