Click here to Skip to main content
14,367,061 members

.NET Framework

 
GeneralRe: how to get all assemblyinfo.cs associate in visual studio solution Pin
a.mohamedyasin1-Aug-18 0:01
membera.mohamedyasin1-Aug-18 0:01 
Question.NET , SQLite to SQLServer Entity Framework migration Pin
MrKBA22-Jul-18 23:16
memberMrKBA22-Jul-18 23:16 
AnswerRe: .NET , SQLite to SQLServer Entity Framework migration Pin
Mycroft Holmes22-Jul-18 23:49
memberMycroft Holmes22-Jul-18 23:49 
GeneralRe: .NET , SQLite to SQLServer Entity Framework migration Pin
MrKBA23-Jul-18 0:09
memberMrKBA23-Jul-18 0:09 
GeneralRe: .NET , SQLite to SQLServer Entity Framework migration Pin
Eddy Vluggen23-Jul-18 0:47
mveEddy Vluggen23-Jul-18 0:47 
GeneralRe: .NET , SQLite to SQLServer Entity Framework migration Pin
Mycroft Holmes23-Jul-18 1:03
memberMycroft Holmes23-Jul-18 1:03 
AnswerMessage Closed Pin
29-Aug-18 21:56
memberMember 1396687129-Aug-18 21:56 
QuestionOpen source xamarin apps for learning Pin
Nitin Sawant18-Jul-18 2:20
professionalNitin Sawant18-Jul-18 2:20 
AnswerRe: Open source xamarin apps for learning Pin
Pete O'Hanlon18-Jul-18 2:51
protectorPete O'Hanlon18-Jul-18 2:51 
AnswerRe: Open source xamarin apps for learning Pin
Eddy Vluggen20-Jul-18 5:07
mveEddy Vluggen20-Jul-18 5:07 
AnswerRe: Open source xamarin apps for learning Pin
Nitin Sawant22-Jul-18 19:16
professionalNitin Sawant22-Jul-18 19:16 
GeneralRe: Open source xamarin apps for learning Pin
Pete O'Hanlon22-Jul-18 21:42
protectorPete O'Hanlon22-Jul-18 21:42 
QuestionFile delete permission problem Pin
primem0ver13-Jul-18 9:18
memberprimem0ver13-Jul-18 9:18 
AnswerRe: File delete permission problem Pin
Gerry Schmitz13-Jul-18 9:37
mveGerry Schmitz13-Jul-18 9:37 
GeneralRe: File delete permission problem Pin
primem0ver13-Jul-18 10:32
memberprimem0ver13-Jul-18 10:32 
GeneralRe: File delete permission problem Pin
Gerry Schmitz13-Jul-18 11:18
mveGerry Schmitz13-Jul-18 11:18 
GeneralRe: File delete permission problem Pin
primem0ver13-Jul-18 14:41
memberprimem0ver13-Jul-18 14:41 
GeneralRe: File delete permission problem Pin
Gerry Schmitz14-Jul-18 5:48
mveGerry Schmitz14-Jul-18 5:48 
AnswerRe: File delete permission problem Pin
Dave Kreskowiak13-Jul-18 10:53
mveDave Kreskowiak13-Jul-18 10:53 
GeneralRe: File delete permission problem Pin
primem0ver13-Jul-18 11:35
memberprimem0ver13-Jul-18 11:35 
GeneralRe: File delete permission problem Pin
Dave Kreskowiak13-Jul-18 12:07
mveDave Kreskowiak13-Jul-18 12:07 
primem0ver wrote:
From my experience, applications have their own permission sets. Are you saying this is not the case?


Correct. Applications ALWAYS run as the user the launched them, inheriting the security token (permissions) of the user. There is no way to get around this.

Applications also cannot grant themselves permissions over and above what they inherited from launch. That was be a massive security risk. Windows, and every other O/S with security built into it, simply does not allow that to happen.

The sole exception of this is when running under Vista and above, an administrator user account can be split into two security contexts, the normal user version of the account and the administrator version. Normally, everything runs as the normal user account, unless admin permissions are required. That's when User Account Control comes in and asks if you really want to run something as an administrator, or if you explicitly launch the process "as administrator".

You've got a different problem with your code.

It's not permissions.

GeneralRe: File delete permission problem Pin
primem0ver13-Jul-18 15:05
memberprimem0ver13-Jul-18 15:05 
GeneralRe: File delete permission problem Pin
Dave Kreskowiak13-Jul-18 18:23
mveDave Kreskowiak13-Jul-18 18:23 
GeneralRe: File delete permission problem Pin
Gerry Schmitz14-Jul-18 6:01
mveGerry Schmitz14-Jul-18 6:01 
GeneralRe: File delete permission problem Pin
primem0ver16-Jul-18 6:36
memberprimem0ver16-Jul-18 6:36 

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.