RE: How to alter the security permissions for a folder?
From: Robert Gruen [MSFT] (robgruen_at_online.microsoft.com)
Date: 01/21/04
- Next message: Robert Gruen [MSFT]: "RE: Process.EnableRaisingEvents ... Access Denied"
- Previous message: Robert Gruen [MSFT]: "RE: Enterprise Policy error using certificates on V1.1 Framework"
- In reply to: Gabriela: "How to alter the security permissions for a folder?"
- Next in thread: Gabriela: "RE: How to alter the security permissions for a folder?"
- Reply: Gabriela: "RE: How to alter the security permissions for a folder?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 21 Jan 2004 19:27:37 GMT
You'll have to use PInvoke to modify the ACL on any object within the OS.
Have a read over
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconusingmanagedwrapperclasses.asp
Thanks! Robert Gruen
Microsoft, VB.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
| Thread-Topic: How to alter the security permissions for a folder?
| thread-index: AcPfgBPSTYjgeBGcQpqI1sOmhfu5xg==
| X-Tomcat-NG: microsoft.public.dotnet.security
| From: "=?Utf-8?B?R2FicmllbGE=?=" <anonymous@discussions.microsoft.com>
| Subject: How to alter the security permissions for a folder?
| Date: Tue, 20 Jan 2004 10:06:07 -0800
| Lines: 3
| Message-ID: <EA82595D-F557-4251-B360-182DE0BA5614@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.security
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.security:4529
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.dotnet.security
|
| I have a C# application that runs as local user and creates a subfolder
on a local machine. The subfolder inherits security settings from it's
parent.
Is there any possibility to alter the security permissions to allow Users
(local) to have 'Modify' privilege
|
- Next message: Robert Gruen [MSFT]: "RE: Process.EnableRaisingEvents ... Access Denied"
- Previous message: Robert Gruen [MSFT]: "RE: Enterprise Policy error using certificates on V1.1 Framework"
- In reply to: Gabriela: "How to alter the security permissions for a folder?"
- Next in thread: Gabriela: "RE: How to alter the security permissions for a folder?"
- Reply: Gabriela: "RE: How to alter the security permissions for a folder?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|