Setting File & Folder Permissions

Discussion in 'ASP .Net Security' started by web.reports@poole.gov.uk, May 20, 2005.

  1. Guest

    Hi All,

    Has anyone got any sample code, or links to sites that explain how to
    set file and folder permissions using ASP.Net. I'm building a document
    publishing system for our Intranet which need to read permissions from
    one folder/file and replicate them to another.

    I've been Googling for an hour or so with not much luck!

    Thanks!
     
    , May 20, 2005
    #1
    1. Advertising

  2. Hello ,

    so what you want is an API to manipulate ACLs, right?

    in .NET 2.0 - take System.Security.AccessControl
    in 1.1 - http://www.leastprivilege.com/PermaLink.aspx?guid=15e52baf-3121-4dbd-9571-c79f1c904ffd

    HTH

    ---------------------------------------
    Dominick Baier - DevelopMentor
    http://www.leastprivilege.com

    > Hi All,
    >
    > Has anyone got any sample code, or links to sites that explain how to
    > set file and folder permissions using ASP.Net. I'm building a document
    > publishing system for our Intranet which need to read permissions from
    > one folder/file and replicate them to another.
    >
    > I've been Googling for an hour or so with not much luck!
    >
    > Thanks!
    >
     
    Dominick Baier [DevelopMentor], May 20, 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. THY
    Replies:
    3
    Views:
    2,988
    Alvin Bruney
    Oct 16, 2003
  2. Jay
    Replies:
    2
    Views:
    777
    Brock Allen
    Apr 5, 2005
  3. Kapil via DotNetMonster.com

    Folder and File Permissions

    Kapil via DotNetMonster.com, Apr 10, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    454
    Winista
    Apr 10, 2006
  4. Tim Chandler
    Replies:
    0
    Views:
    239
    Tim Chandler
    Oct 7, 2003
  5. Bona

    Setting writing permissions to a folder.

    Bona, Feb 15, 2004, in forum: ASP .Net Security
    Replies:
    0
    Views:
    101
Loading...

Share This Page