Add/Remove permissions to folders programmatically

Discussion in 'ASP .Net' started by Codex Twin, Jan 7, 2005.

  1. Codex Twin

    Codex Twin Guest

    Hello folks

    Is it possible to add/remove Read Permissions (and any other NTFS
    permissions) to a folder programmatically via an ASP.NET page?

    Thanks.
     
    Codex Twin, Jan 7, 2005
    #1
    1. Advertising

  2. Codex Twin

    Axel Dahmen Guest

    Try:

    System.IO.File.SetAttributes(...);

    HTH,
    Axel Dahmen

    --
    www.sportbootcharter.com



    -------------
    "Codex Twin" <> schrieb im Newsbeitrag
    news:...
    > Hello folks
    >
    > Is it possible to add/remove Read Permissions (and any other NTFS
    > permissions) to a folder programmatically via an ASP.NET page?
    >
    > Thanks.
    >
    >
     
    Axel Dahmen, Jan 8, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Scott Allen
    Replies:
    0
    Views:
    455
    Scott Allen
    Jul 13, 2004
  2. Replies:
    0
    Views:
    427
  3. bona
    Replies:
    0
    Views:
    219
  4. TC
    Replies:
    2
    Views:
    650
  5. Archie Call
    Replies:
    2
    Views:
    137
    Dave Burt
    Mar 22, 2006
Loading...

Share This Page