Click here to Skip to main content
15,888,301 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 11:00
professionalKevin Marois12-Sep-16 11:00 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Dave Kreskowiak12-Sep-16 11:38
mveDave Kreskowiak12-Sep-16 11:38 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 11:39
professionalKevin Marois12-Sep-16 11:39 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Dave Kreskowiak12-Sep-16 11:40
mveDave Kreskowiak12-Sep-16 11:40 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 11:42
professionalKevin Marois12-Sep-16 11:42 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Dave Kreskowiak12-Sep-16 11:48
mveDave Kreskowiak12-Sep-16 11:48 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 11:49
professionalKevin Marois12-Sep-16 11:49 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Dave Kreskowiak12-Sep-16 11:53
mveDave Kreskowiak12-Sep-16 11:53 
Your application will be running as the user that launched it. Your code cannot give more permissions than it already has from the user running it. Also, any changes to NTFS permissions are done as the user running your code. There is NOTHING preventing the user from just putting the permissions back that your code took away.

Permissions are just about never set in application code at run time but set at install time.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 11:56
professionalKevin Marois12-Sep-16 11:56 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Dave Kreskowiak12-Sep-16 11:57
mveDave Kreskowiak12-Sep-16 11:57 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 11:58
professionalKevin Marois12-Sep-16 11:58 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Dave Kreskowiak12-Sep-16 12:02
mveDave Kreskowiak12-Sep-16 12:02 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 12:04
professionalKevin Marois12-Sep-16 12:04 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Dave Kreskowiak12-Sep-16 12:14
mveDave Kreskowiak12-Sep-16 12:14 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 12:32
professionalKevin Marois12-Sep-16 12:32 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Dave Kreskowiak12-Sep-16 13:09
mveDave Kreskowiak12-Sep-16 13:09 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 13:17
professionalKevin Marois12-Sep-16 13:17 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Eddy Vluggen12-Sep-16 12:09
professionalEddy Vluggen12-Sep-16 12:09 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 12:30
professionalKevin Marois12-Sep-16 12:30 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Dave Kreskowiak12-Sep-16 13:09
mveDave Kreskowiak12-Sep-16 13:09 
GeneralRe: Windows Shell - Prevent Folder & File Operations Pin
Eddy Vluggen13-Sep-16 3:22
professionalEddy Vluggen13-Sep-16 3:22 
AnswerRe: Windows Shell - Prevent Folder & File Operations Pin
Bernhard Hiller12-Sep-16 21:22
Bernhard Hiller12-Sep-16 21:22 
AnswerRe: Windows Shell - Prevent Folder & File Operations Pin
Nathan Minier13-Sep-16 1:41
professionalNathan Minier13-Sep-16 1:41 
QuestionGetting Index Of Delimiters After A String Pin
MadDashCoder11-Sep-16 17:11
MadDashCoder11-Sep-16 17:11 
AnswerRe: Getting Index Of Delimiters After A String Pin
BillWoodruff11-Sep-16 19:31
professionalBillWoodruff11-Sep-16 19:31 

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.