Click here to Skip to main content
15,891,951 members
Home / Discussions / C#
   

C#

 
GeneralRe: SmtpMail question Pin
Heath Stewart16-Jan-04 4:52
protectorHeath Stewart16-Jan-04 4:52 
GeneralRe: SmtpMail question Pin
Mazdak16-Jan-04 5:13
Mazdak16-Jan-04 5:13 
GeneralRe: SmtpMail question Pin
Rocky Moore16-Jan-04 8:35
Rocky Moore16-Jan-04 8:35 
GeneralRe: SmtpMail question Pin
Mazdak16-Jan-04 8:39
Mazdak16-Jan-04 8:39 
GeneralRe: SmtpMail question Pin
Rocky Moore16-Jan-04 19:13
Rocky Moore16-Jan-04 19:13 
GeneralRe: SmtpMail question Pin
Mazdak16-Jan-04 19:19
Mazdak16-Jan-04 19:19 
GeneralRe: SmtpMail question Pin
Rocky Moore16-Jan-04 19:34
Rocky Moore16-Jan-04 19:34 
GeneralRe: SmtpMail question Pin
Mazdak16-Jan-04 20:39
Mazdak16-Jan-04 20:39 
GeneralRe: SmtpMail question Pin
Mazdak16-Jan-04 22:14
Mazdak16-Jan-04 22:14 
GeneralRe: SmtpMail question Pin
Mazdak22-Jan-04 20:43
Mazdak22-Jan-04 20:43 
GeneralRe: SmtpMail question Pin
Mazdak22-Jan-04 20:43
Mazdak22-Jan-04 20:43 
GeneralRe: SmtpMail question Pin
Rocky Moore23-Jan-04 3:30
Rocky Moore23-Jan-04 3:30 
GeneralRe: SmtpMail question Pin
Mazdak23-Jan-04 4:21
Mazdak23-Jan-04 4:21 
Generalauthorize.net Pin
Biebster15-Jan-04 21:55
Biebster15-Jan-04 21:55 
GeneralRe: authorize.net Pin
Heath Stewart16-Jan-04 4:16
protectorHeath Stewart16-Jan-04 4:16 
GeneralConfigure folder permission and virtual directory Pin
SandyJ15-Jan-04 21:07
SandyJ15-Jan-04 21:07 
GeneralRe: Configure folder permission and virtual directory Pin
Mazdak15-Jan-04 22:10
Mazdak15-Jan-04 22:10 
GeneralOffice development problem Pin
miniztry15-Jan-04 14:55
miniztry15-Jan-04 14:55 
GeneralRe: Office development problem Pin
Heath Stewart16-Jan-04 4:15
protectorHeath Stewart16-Jan-04 4:15 
GeneralBorland c# 1.0 Easter Egg Pin
kbsoftware15-Jan-04 13:54
kbsoftware15-Jan-04 13:54 
GeneralChanging Folder Permissions C# Pin
Nicholas Cardi15-Jan-04 13:11
Nicholas Cardi15-Jan-04 13:11 
GeneralRe: Changing Folder Permissions C# Pin
Mazdak15-Jan-04 22:13
Mazdak15-Jan-04 22:13 
GeneralRe: Changing Folder Permissions C# Pin
Heath Stewart16-Jan-04 4:08
protectorHeath Stewart16-Jan-04 4:08 
There's a couple of articles on this here on code project. A quick search revealed:
  1. Adding File Access Permissions using DirectoryServices[^]
  2. NT Security Classes for .NET[^]
You could search for additional articles, as well as comments in this forum because it has been discussed several times before.

You probably shouldn't modify the ACL of the All Users directory, though. Users should not be able to write files to this directory. If you need the application to save files in a place where other users of the machine can access them, you should consider installing your program into C:\Program Files (where applications are supposed to go anyway) and use a folder within that. By default, most users can write to those directories. All Users is more for things like Start menu shortcuts available to everyone. Occassionally, net admins will put a README file in the Documents folder or something that user can't delete, but this is pretty rare these days with modern networks.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Changing Folder Permissions C# Pin
Nicholas Cardi17-Jan-04 4:40
Nicholas Cardi17-Jan-04 4:40 
GeneralRe: Changing Folder Permissions C# Pin
Heath Stewart17-Jan-04 8:44
protectorHeath Stewart17-Jan-04 8:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.