Re: Changing folder security

From: Nicole Calinoiu (calinoiu)
Date: 03/30/05


Date: Wed, 30 Mar 2005 11:53:10 -0500

There are many Windows API functions that you will need to call in order to
set the ACL on a file. Even if you don't want to use the library available
at
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=e6098575-dda0-48b8-9abf-e0705af065d9,
you could download it and examine its API usage in order to figure out how
this is done.

"Feldman Alex" <utxed94@mail.ru> wrote in message
news:%23yGkJRUNFHA.1308@TK2MSFTNGP15.phx.gbl...
> Thanks Nicole
>
> Maybe you know which Windows API should i use
>
> Thanks again
> "Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> wrote in message
> news:OJaxzwTNFHA.1172@TK2MSFTNGP12.phx.gbl...
>> This functionality is not available in the v. 1.x .NET Framework. You
> could
>> either call the relevant Windows API functions yourself via p/invoke or
> use
>> a wrapper API like the one available at
>>
> http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=e6098575-dda0-48b8-9abf-e0705af065d9.
>>
>> HTH,
>> Nicole
>>
>>
>>
>> "Feldman Alex" <utxed94@mail.ru> wrote in message
>> news:eRku4JTNFHA.2136@TK2MSFTNGP14.phx.gbl...
>> > Hi all!
>> > I need to set folder security to full control to everyone
>> > is it possible from code (without calling any external applications and
>> > sripts) ?
>> > example would be nice.
>> >
>> > Thanx
>> >
>> >
>>
>>
>
>



Relevant Pages

  • Re: Changing folder security
    ... Thanx a lot Nicole ... > There are many Windows API functions that you will need to call in order ... > set the ACL on a file. ...
    (microsoft.public.dotnet.security)
  • INI file functions
    ... Is there Windows API functions that handle the parsing of an INI file ... [FPPlayer1] ... [KeyboardS1] ...
    (alt.lang.asm)
  • Re: global and static object
    ... All Windows API functions are depend on CRT? ... Don't you see that you write the opposite of Igors sentence? ... Igor told you that no Windows API depends on the CRT ...
    (microsoft.public.vc.language)
  • RE: Copy Folders without calling filesystemobject
    ... Try to use Windows API Functions. ... Windows API -> Functions By Category -> Directory Management ... "Bill" wrote: ... > Unfortunately on some systems the scripting is disabled so cant use script ...
    (microsoft.public.fox.helpwanted)