Setting File & Folder Permissions

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Setting File & Folder Permissions

    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!

    web.reports@poole.gov.uk Guest

  2. Similar Questions and Discussions

    1. Setting writing permissions to a folder.
      At ASP.Net application I have a folder which contains the files, being updated by the users. The application deployed by Web Setup project. The...
    2. Directory FileSystemInfo file and folder permissions
      I am trying to loop through a directory and place all the folders and files into an array. I want to store only the folders and files that the...
    3. Setting folder permissions on remote machine / remote domain
      Hello there, I have the following problem: I have Machine A which runs my website. I have Machine B which holds folders for users. Machine A...
    4. Help with setting folder permissions
      I'm running XP Home Edition on a Dell Dimension 8100, Pentium 4, 80 gig HD, 256 RAM (although none of that info will probably be needed to answer...
    5. Setting Folder Permissions
      Hi, I am sooo lost with a problem I have. I bought a new digital camera and when I tried to install the software it got an error message "unable to...
  3. #2

    Default Re: Setting File & Folder Permissions

    Hello gov.uk,

    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
     



    Dominick Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139