title: How can I impersonate a different user while opening a virtual directory?
body: <p>We have an ASP.NET (3.5) application which uses Forms Authentication to authenticate accounts.  On the logon form, I also get a windows login token using LogonUser, which I use to impersonate the logged on user for browsing private directories (the files are displayed in a GridView, and the user is impersonated just before the data is bound.)  I just learned that we also need to impersonate the user in a virtual directory.  Is there a way for me to impersonate just before the virtual directory is loaded, or across the entire application without switching to Windows Authentication?</p>