148 |
} |
} |
149 |
|
|
150 |
// Adds an ACL entry for RW access on the specified file for Remote desktop users. |
// Adds an ACL entry for RW access on the specified file for Remote desktop users. |
151 |
|
[Obsolete("GrantRWaccessForRemoteDesktopUsers has been deprecated - define user access rights via SQL Server")] |
152 |
public static void GrantRWaccessForRemoteDesktopUsers(string fileName) |
public static void GrantRWaccessForRemoteDesktopUsers(string fileName) |
153 |
{ |
{ |
154 |
// Get a FileSecurity object that represents the current security settings. |
// Get a FileSecurity object that represents the current security settings. |
164 |
} |
} |
165 |
|
|
166 |
// Adds an ACL entry for ReadWriteModify access on the specified file for Remote desktop users. |
// Adds an ACL entry for ReadWriteModify access on the specified file for Remote desktop users. |
167 |
|
[Obsolete("GrantRWMaccessForRemoteDesktopUsers has been deprecated - define user access rights via SQL Server")] |
168 |
public static void GrantRWMaccessForRemoteDesktopUsers(string fileName) |
public static void GrantRWMaccessForRemoteDesktopUsers(string fileName) |
169 |
{ |
{ |
170 |
// Get a FileSecurity object that represents the current security settings. |
// Get a FileSecurity object that represents the current security settings. |
182 |
|
|
183 |
// (obsolete) |
// (obsolete) |
184 |
// Adds an ACL entry for to deny modify access on the specified file for all users. |
// Adds an ACL entry for to deny modify access on the specified file for all users. |
185 |
|
[Obsolete("DenyAccessRightModifyForUsers has been deprecated - define user access rights via SQL Server")] |
186 |
public static void DenyAccessRightModifyForUsers(string fileName) |
public static void DenyAccessRightModifyForUsers(string fileName) |
187 |
{ |
{ |
188 |
// Get a FileSecurity object that represents the current security settings. |
// Get a FileSecurity object that represents the current security settings. |