Author: NumberKruncher | Posted on: 9/5/2008 4:00:00 PM | Views : 276

Hi guys,

In my ASP.NET website I need to provide a custom directory listing. I do not want to list files which users do not have access to, so I wrote the following code. Unfortunately (for me) the CheckFileAccesForUser only works with virtual paths. It would be fantastic if someone could point me in the right direction.

                // Fetch file and directory information.
                string[] dirs = Directory.GetDirectories(rootPath);
&nbs ...

Go to the complete details ...