Click here to Skip to main content
15,898,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: about the xmltextreader Pin
dhol4-Jan-05 17:59
dhol4-Jan-05 17:59 
General'Locking' entire folder Pin
kshet262-Jan-05 18:34
kshet262-Jan-05 18:34 
GeneralRe: 'Locking' entire folder Pin
Dave Kreskowiak3-Jan-05 6:15
mveDave Kreskowiak3-Jan-05 6:15 
GeneralRe: 'Locking' entire folder Pin
kshet263-Jan-05 7:31
kshet263-Jan-05 7:31 
GeneralRe: 'Locking' entire folder Pin
Dave Kreskowiak3-Jan-05 7:45
mveDave Kreskowiak3-Jan-05 7:45 
GeneralRe: 'Locking' entire folder Pin
Dennis C. Dietrich3-Jan-05 7:50
Dennis C. Dietrich3-Jan-05 7:50 
GeneralRe: 'Locking' entire folder Pin
Dave Kreskowiak3-Jan-05 11:05
mveDave Kreskowiak3-Jan-05 11:05 
GeneralRe: 'Locking' entire folder Pin
Dennis C. Dietrich3-Jan-05 11:35
Dennis C. Dietrich3-Jan-05 11:35 
Dave Kreskowiak wrote:
Like I told him, encrypting the FOLDER isn't possible because it's just a pointer to a list in the file table.

A folder is actually a file with certain attributes (see The NTFS File System[^] section NTFS File Attributes). As folders have an encryption attribute too, you can use this to ensure encryption of files that will be created in that folder (given that nobody disables ACL inheritance). By the way, the documentation states that you can encrypt files and folder so I assume that in case you set the encryption flag for a folder the file (which represents the folder) is also encrypted (yeah, I know, that does not answer the original question Wink | ;-) ).

Dave Kreskowiak wrote:
But in the latter case, he'll still need to go read the documentation on it to understand how to use it.

It seems that you only need the function EncryptFile()[^] (but there is also a more detailed article about that titled A Programmer's Perspective on NTFS 2000[^]).

Dave Kreskowiak wrote:
This question was no different, and I referred him to the security features of the OS, be it using ACL's to control access or encryption. The choice is up to him, so long as he reads about the features and pitfalls of each and understands them.

I definitely agree about that! Cool | :cool:

Best regards
Dennis
GeneralRe: 'Locking' entire folder Pin
Dave Kreskowiak4-Jan-05 16:43
mveDave Kreskowiak4-Jan-05 16:43 
GeneralRe: 'Locking' entire folder Pin
kshet263-Jan-05 9:36
kshet263-Jan-05 9:36 
GeneralRe: 'Locking' entire folder Pin
Dave Kreskowiak3-Jan-05 11:07
mveDave Kreskowiak3-Jan-05 11:07 
GeneralRe: 'Locking' entire folder Pin
kshet263-Jan-05 17:13
kshet263-Jan-05 17:13 
GeneralRe: 'Locking' entire folder Pin
Dave Kreskowiak4-Jan-05 16:50
mveDave Kreskowiak4-Jan-05 16:50 
Generalmousewheel!!! Pin
osto2-Jan-05 18:06
osto2-Jan-05 18:06 
GeneralPoll sample Pin
anandg_g2-Jan-05 17:04
anandg_g2-Jan-05 17:04 
GeneralTrouble with asynch sockets...program not exiting from taskmanager list Pin
FocusedWolf2-Jan-05 16:51
FocusedWolf2-Jan-05 16:51 
GeneralPassing Value Types by Reference Pin
paulsawyer2-Jan-05 16:44
paulsawyer2-Jan-05 16:44 
GeneralSerialization for an ArrayList Pin
zecodela2-Jan-05 15:46
zecodela2-Jan-05 15:46 
GeneralRe: Serialization for an ArrayList Pin
Robert Rohde2-Jan-05 18:38
Robert Rohde2-Jan-05 18:38 
GeneralRe: Serialization for an ArrayList Pin
zecodela3-Jan-05 14:37
zecodela3-Jan-05 14:37 
GeneralCrystal Reports to pdf Pin
2-Jan-05 15:45
suss2-Jan-05 15:45 
GeneralRe: Crystal Reports to pdf Pin
jareddavies3-Jan-05 12:57
jareddavies3-Jan-05 12:57 
GeneralWANT REAL TIME MOUSE COORD Pin
...---...2-Jan-05 11:28
...---...2-Jan-05 11:28 
GeneralRe: WANT REAL TIME MOUSE COORD Pin
DavidNohejl2-Jan-05 12:08
DavidNohejl2-Jan-05 12:08 
GeneralScrollbar maximum value problem Pin
Andrew Stampor2-Jan-05 11:11
Andrew Stampor2-Jan-05 11:11 

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.