473,320 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

help in obtaining NTFS directory permissions

VP
Hi there,

well i am stuck on a problem with regards to obtaining security
permissions on folders. At the moment I have created a simple treeview
example which shows all sub-directories in a tree form for a particular
directory.

Then I wanted to see how the application would handle a
sub-directory(test1) if the current user logged on win2k box didnt have
the permissions to access test1. The application throws an exception
which somethign along the lines of unauthorized access etc. I changed
the permissions for test1 by right clicking and accessing the security
tab.

I did some googling and came across couple of links on NTFS security
permissions in .NET.
http://www.gotdotnet.com/Community/U...f-e0705af065d9
http://weblogs.asp.net/cumpsd/archiv.../08/69403.aspx

My problem is that I am having a hard time understanding those links.
Does anyone have an alternative tutorial that would explain things a
lot clearly interms of say obtaining the current ntfs security
permissisons for a selected folder ?

thanks

Nov 17 '05 #1
0 1316

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: BingoHandJob | last post by:
Hello group! I'm having a problem and I hope some of you may be able to point me in the right direction. I inherited a web site using php, running on Windows 2000 & IIS. The site was...
3
by: Kim Lots | last post by:
Hi folks Let say I have one virtual directory (IIS 5.x) pointing to a folder on my G: drive what would be the minimum NTFS permissions (w2k pro) for users & groups on this folder considering I'm...
7
by: Ron Gibson | last post by:
Lets say I have a folder members/3/ in this folder are images I have a login page that connects to a database to retrieve user info. After login the user is directed to a page that lists...
9
by: Ben Dewey | last post by:
Project: ---------------------------- I am creating a HTTPS File Transfer App using ASP.NET and C#. I am utilizing ActiveDirectory and windows security to manage the permissions. Why reinvent...
0
by: David Kyle | last post by:
Hello, I’m currently having some difficulties finding an example and the recommended practices for setting NTFS Permissions on Files and Folders. I will also need to do some impersonation and I...
3
by: serge calderara | last post by:
Dear all, I have a simple web application with a starting page as WebForm.aspx If I run my application locally from my workstation (W200 SP4) it works fine. Then I copy my all application under...
2
by: Chris | last post by:
Hi, I uploaded my site to my internal IIS 6.0 Windows 2003 Server but I get the error when I try to access it The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other...
0
by: Joe S. | last post by:
I've been looking into the My.Computer.FileSystem.CopyDirectory method and I need a way to copy a directory and keep its NTFS permissions (even if it's a mapped drive). Do I need to use the...
0
by: David Rees | last post by:
Hi I've got a series of NTFS Directories which have permission inheritance unchecked (in Explorer) with a bunch of permissions explicitly stated, and I need to remove these explicit permissions...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.