Click here to Skip to main content
15,892,059 members
Home / Discussions / C#
   

C#

 
GeneralRe: setting file's security to 'no delete' in code ? Pin
Eddy Vluggen1-Dec-14 8:02
professionalEddy Vluggen1-Dec-14 8:02 
GeneralRe: setting file's security to 'no delete' in code ? Pin
Manfred Rudolf Bihy1-Dec-14 9:01
professionalManfred Rudolf Bihy1-Dec-14 9:01 
AnswerRe: setting file's security to 'no delete' in code ? Pin
Dave Kreskowiak28-Nov-14 10:24
mveDave Kreskowiak28-Nov-14 10:24 
GeneralRe: setting file's security to 'no delete' in code ? Pin
BillWoodruff28-Nov-14 14:12
professionalBillWoodruff28-Nov-14 14:12 
AnswerRe: [still unsolved as of Dec. 1] setting file's security to 'no delete' in code ? Pin
Manfred Rudolf Bihy1-Dec-14 2:02
professionalManfred Rudolf Bihy1-Dec-14 2:02 
AnswerRe: [still unsolved as of Dec. 1] setting file's security to 'no delete' in code ? Pin
Manfred Rudolf Bihy1-Dec-14 3:01
professionalManfred Rudolf Bihy1-Dec-14 3:01 
GeneralRe: [still unsolved as of Dec. 1] setting file's security to 'no delete' in code ? Pin
BillWoodruff1-Dec-14 21:12
professionalBillWoodruff1-Dec-14 21:12 
GeneralRe: [still unsolved as of Dec. 1] setting file's security to 'no delete' in code ? Pin
Manfred Rudolf Bihy2-Dec-14 18:44
professionalManfred Rudolf Bihy2-Dec-14 18:44 
BillWoodruff wrote:
instead of actually deleting the file move the file to a special folder.


Oh oh, that is one of the oddities I also discovered, but did not cover in my answer to your post: Moving a file as well as only renaming the file will not work when the account trying to accomplish that has been denied the delete right on said file.

I've googled about this "feature" quite a bit, but did not reach any hindsight as to what "special implementation"*1 would cause this kind of havoc. All that this confirms to me is that the windows authorization scheme seems to be utter BS.

Cheers!

*1And by special I mean this kind of "special": Special (Fr)ed, Stephen Lynch[^]

"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian


GeneralRe: [still unsolved as of Dec. 1] setting file's security to 'no delete' in code ? Pin
Manfred Rudolf Bihy3-Dec-14 21:17
professionalManfred Rudolf Bihy3-Dec-14 21:17 
QuestionWrite to Registry with Administrative Privileges Pin
Jassim Rahma28-Nov-14 1:36
Jassim Rahma28-Nov-14 1:36 
AnswerRe: Write to Registry with Administrative Privileges Pin
Richard MacCutchan28-Nov-14 2:50
mveRichard MacCutchan28-Nov-14 2:50 
AnswerRe: Write to Registry with Administrative Privileges Pin
Pete O'Hanlon28-Nov-14 3:17
mvePete O'Hanlon28-Nov-14 3:17 
GeneralRe: Write to Registry with Administrative Privileges Pin
Jassim Rahma28-Nov-14 9:21
Jassim Rahma28-Nov-14 9:21 
GeneralRe: Write to Registry with Administrative Privileges Pin
Richard MacCutchan28-Nov-14 22:34
mveRichard MacCutchan28-Nov-14 22:34 
GeneralRe: Write to Registry with Administrative Privileges Pin
Jassim Rahma29-Nov-14 4:57
Jassim Rahma29-Nov-14 4:57 
GeneralRe: Write to Registry with Administrative Privileges Pin
Richard MacCutchan29-Nov-14 5:02
mveRichard MacCutchan29-Nov-14 5:02 
GeneralRe: Write to Registry with Administrative Privileges Pin
Jassim Rahma30-Nov-14 9:55
Jassim Rahma30-Nov-14 9:55 
GeneralRe: Write to Registry with Administrative Privileges Pin
Richard MacCutchan30-Nov-14 21:20
mveRichard MacCutchan30-Nov-14 21:20 
AnswerRe: Write to Registry with Administrative Privileges Pin
OriginalGriff28-Nov-14 3:44
mveOriginalGriff28-Nov-14 3:44 
AnswerRe: Write to Registry with Administrative Privileges Pin
jschell30-Nov-14 6:23
jschell30-Nov-14 6:23 
QuestionDisplayAttribute.Order in Derived class Pin
Gilbert Consellado27-Nov-14 21:52
professionalGilbert Consellado27-Nov-14 21:52 
AnswerRe: DisplayAttribute.Order in Derived class Pin
Pete O'Hanlon27-Nov-14 23:27
mvePete O'Hanlon27-Nov-14 23:27 
GeneralRe: DisplayAttribute.Order in Derived class Pin
Gilbert Consellado27-Nov-14 23:59
professionalGilbert Consellado27-Nov-14 23:59 
AnswerRe: DisplayAttribute.Order in Derived class Pin
Eddy Vluggen28-Nov-14 4:56
professionalEddy Vluggen28-Nov-14 4:56 
GeneralRe: DisplayAttribute.Order in Derived class Pin
Gilbert Consellado28-Nov-14 6:01
professionalGilbert Consellado28-Nov-14 6:01 

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.