Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 3rd, 2006, 10:42 AM
Registered User
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rmortega77
Default Change folder DACLs

Dear guru:

I need a script in C# to change DACLs on Directories, from a WebAplication, ASAP, for net framework 1.1 I know there is in System.Directory.SetAccessControl (something like) in Net Framework 2.0 but I need it for 1.1.

I tried to run the command cacls.exe which come with windows. Using Process.Start("cacls.exe",@"\\netmachine\Dir /t /e /c /g Group:f"). Maybe you could help with this other approach, maybe I can not launch it from a WebApplication. Since it seems it is not working. Please, email me to:

rortega ATCHAR vertice.cu

Since I have no intenet access, to come to this site again.

Yours,

Rodolfo





Similar Threads
Thread Thread Starter Forum Replies Last Post
change masterpage based on the folder crab BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 April 14th, 2008 09:32 AM
change permission of folder in web application SachinMalge ASP.NET 2.0 Basics 0 March 12th, 2007 09:31 AM
Making a folder virtual folder on button click in CsharpHelp C# 0 October 26th, 2005 05:57 AM
Change SecurityDescriptor of Folder from Client jmtoet Pro VB 6 0 June 12th, 2005 12:04 PM
Change Default Existing Project Folder ritag Beginning VB 6 2 February 9th, 2004 05:12 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.