Programmatically change iis rights

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

  1. #1

    Default Programmatically change iis rights

    Hi,

    Is it possible to programmatically (c# aspnet) change IIS
    rights on a file or a directory (allow write access on
    xml files, deny download for databases,...) ?

    Thanks for your help
    thibaut Guest

  2. Similar Questions and Discussions

    1. Programmatically change width of texbox?
      I thought this would be straightforward but it's not. How do I programmatically reduce the width of a textbox by 20 pixels, say? TextBox1.Width =...
    2. Change Ownership and security rights all at once?
      Is there a resource kit tool or a third party utility that I can use to do ownership and ACL rights all at once? I have a 700 GB directory that I...
    3. password change causes loss of rights
      We are running a NT 4.0 netwrok and have begun to have problems with changing passowrds. When a user changes their password for the network on an...
    4. How do I change the DataGrid column order programmatically?
      I use a single datagrid to load several different types of data depending upon some user driven criteria. The AutoGenerateColumns property for the...
    5. How to change access rights of USB drive ?
      Hi, I have managed to mount an external USB drive from instructions I googled. I can read/write etc. when I am root, but when I try as a normal...
  3. #2

    Default Re: Programmatically change iis rights

    You can change read, write and execute permissions programmatically for iis.
    You can also set a dummy scriptmap for mdf and mdf files. But it's a bit
    difficult, cause the access to the DirectoryEntry requires FullTrust.

    Daniel


    "thibaut" <anonymous@discussions.microsoft.com> wrote in message
    news:0e4901c53a7f$5dea4920$a501280a@phx.gbl...
    > Hi,
    >
    > Is it possible to programmatically (c# aspnet) change IIS
    > rights on a file or a directory (allow write access on
    > xml files, deny download for databases,...) ?
    >
    > Thanks for your help

    Daniel Fisher\(lennybacon\) 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