Click here to Skip to main content
15,907,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: EF code first telling me to do the migration for db object which is already is in db Pin
Richard Deeming13-Sep-16 2:27
mveRichard Deeming13-Sep-16 2:27 
GeneralRe: EF code first telling me to do the migration for db object which is already is in db Pin
Tridip Bhattacharjee13-Sep-16 2:32
professionalTridip Bhattacharjee13-Sep-16 2:32 
GeneralRe: EF code first telling me to do the migration for db object which is already is in db Pin
Nathan Minier13-Sep-16 2:46
professionalNathan Minier13-Sep-16 2:46 
GeneralRe: EF code first telling me to do the migration for db object which is already is in db Pin
Tridip Bhattacharjee13-Sep-16 21:45
professionalTridip Bhattacharjee13-Sep-16 21:45 
AnswerRe: EF code first telling me to do the migration for db object which is already is in db Pin
Richard Deeming13-Sep-16 2:32
mveRichard Deeming13-Sep-16 2:32 
QuestionResource file in c# (.resx) Pin
Harpreet05Kaur12-Sep-16 22:03
Harpreet05Kaur12-Sep-16 22:03 
AnswerRe: Resource file in c# (.resx) Pin
OriginalGriff12-Sep-16 22:21
mveOriginalGriff12-Sep-16 22:21 
QuestionWindows Shell - Prevent Folder & File Operations Pin
Kevin Marois12-Sep-16 10:53
professionalKevin Marois12-Sep-16 10:53 
AnswerRe: Windows Shell - Prevent Folder & File Operations Pin
Dave Kreskowiak12-Sep-16 10:58
mveDave Kreskowiak12-Sep-16 10:58 
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 
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 
Your application can talk to a service that's running as an account that has sufficient permissions to set/remove permissions on folders.

This is a management nightmare, requiring a good working knowledge of how permissions work and are inherited in the NTFS tree. Such an explanation is beyond the capacity of forums posts.

Now, there's another way. Screw all the management of granting and taking permissions. The service would be the "file manager" in a folder where only the service account has permissions to write files/create folders. Your application could ask the service to save files/create folders as appropriate and the service would do all the file/folder work on behalf of the application using the permissions granted to it by it's own user account. This user account has to be specially setup to login as a service and has the appropriate permissions to where the files/folder will be stored.
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 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 

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.