469,603 Members | 2,151 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,603 developers. It's quick & easy.

NTFS Folder Permissions

Hey,
How can I add/edit/delete Folder NTFS permissions in .NET?
I have a Win2K Box, and WMI is not installed on my servers
Thanks ahead!

-- Joey
Nov 20 '05 #1
4 2920
Joey wrote:
How can I add/edit/delete Folder NTFS permissions in .NET?
I have a Win2K Box, and WMI is not installed on my servers
Thanks ahead!


Hi Joey,

HOW TO: Programmatically Set NTFS File System Folder Permissions by
Using Microsoft Visual Basic .NET

http://support.microsoft.com/?scid=818362

Cheers

Arne Janning
Nov 20 '05 #2
Hey Arne, Thanks for replying!
I'v seen this code, but it doesnt compile - all the const-like parameters
there (in example: ADS_SID_SDDL) are undefined...
If you could edit that code and give me a working sample that'd be greate!
Thanks ahead,

--Joey
"Arne Janning" <sp*****************@msn.com> wrote in message
news:#K**************@TK2MSFTNGP11.phx.gbl...
Joey wrote:
How can I add/edit/delete Folder NTFS permissions in .NET?
I have a Win2K Box, and WMI is not installed on my servers
Thanks ahead!


Hi Joey,

HOW TO: Programmatically Set NTFS File System Folder Permissions by
Using Microsoft Visual Basic .NET

http://support.microsoft.com/?scid=818362

Cheers

Arne Janning

Nov 20 '05 #3
Hey Arne, Thanks for replying!
I'v seen this code, but it doesnt compile - all the const-like parameters
there (in example: ADS_SID_SDDL) are undefined...
If you could edit that code and give me a working sample that'd be greate!
Thanks ahead,

--Joey
"Arne Janning" <sp*****************@msn.com> wrote in message
news:#K**************@TK2MSFTNGP11.phx.gbl...
Joey wrote:
How can I add/edit/delete Folder NTFS permissions in .NET?
I have a Win2K Box, and WMI is not installed on my servers
Thanks ahead!


Hi Joey,

HOW TO: Programmatically Set NTFS File System Folder Permissions by
Using Microsoft Visual Basic .NET

http://support.microsoft.com/?scid=818362

Cheers

Arne Janning

Nov 20 '05 #4
Joey wrote:
Hey Arne, Thanks for replying!
I'v seen this code, but it doesnt compile - all the const-like parameters
there (in example: ADS_SID_SDDL) are undefined...
If you could edit that code and give me a working sample that'd be greate!
Thanks ahead,


Hi Joey,

I looked over the code of the MS-HowTo and I think that there are better
and more .NET-like ways to do this:

http://www.codeproject.com/dotnet/NTSecurityNET.asp

http://www.gotdotnet.com/Community/U...f-e0705af065d9

Cheers

Arne Janning
Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Sharon | last post: by
1 post views Thread by Mohamed Zaki | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.