Click here to Skip to main content
15,901,122 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Which framework version is used Pin
Mike Dimmick3-Jan-08 11:50
Mike Dimmick3-Jan-08 11:50 
GeneralRe: Which framework version is used Pin
Michael Sync3-Jan-08 15:46
Michael Sync3-Jan-08 15:46 
QuestionDelegates in Remoting Pin
Shyam K Pananghat2-Jan-08 21:18
Shyam K Pananghat2-Jan-08 21:18 
GeneralRe: Delegates in Remoting Pin
Dave Kreskowiak3-Jan-08 5:31
mveDave Kreskowiak3-Jan-08 5:31 
GeneralRe: Delegates in Remoting Pin
Alexander Arlievsky8-Jan-08 1:56
Alexander Arlievsky8-Jan-08 1:56 
GeneralXAML styling help Pin
adt_brauer2-Jan-08 5:23
adt_brauer2-Jan-08 5:23 
GeneralRe: XAML styling help Pin
adt_brauer2-Jan-08 22:35
adt_brauer2-Jan-08 22:35 
GeneralSecurity - Windows users Pin
Simon P Stevens2-Jan-08 3:42
Simon P Stevens2-Jan-08 3:42 
Hi,

I have an application that needs to behave differently depending on the user running the application. (I.e. I need to block the admin functions from general users)

The app uses a SQL server database. Is it safe to store the windows user's SSID along with their permissions/restrictions and then use WindowsIdentity.GetCurrent().User.Value and compare this with the values stored in the database when the app is run to do my restrictions?

(User's don't have permissions to write to the database, so there's no risk of a user changing their own settings)

I'm making the assumption here that it's not possible to change windows user SSIDs. Would it be safer to hash the SSID before storing it and compare that instead?

What about the risk of someone changing the in memory value of the current user's SSID after it is loaded, but before it is hashed and compared to the stored value?

What should I be doing instead of this to restrict what different users can do.

Many thanks,

Simon

GeneralRe: Security - Windows users Pin
Colin Angus Mackay2-Jan-08 4:18
Colin Angus Mackay2-Jan-08 4:18 
GeneralRe: Security - Windows users Pin
Simon P Stevens2-Jan-08 4:53
Simon P Stevens2-Jan-08 4:53 
GeneralRe: Security - Windows users Pin
Colin Angus Mackay2-Jan-08 6:19
Colin Angus Mackay2-Jan-08 6:19 
GeneralRe: Security - Windows users Pin
Dave Kreskowiak2-Jan-08 7:49
mveDave Kreskowiak2-Jan-08 7:49 
GeneralRe: Security - Windows users Pin
Simon P Stevens2-Jan-08 22:15
Simon P Stevens2-Jan-08 22:15 
GeneralProblem with Windows Services (Related to .NET Framework problem) Pin
ashishbhatt31-Dec-07 23:57
ashishbhatt31-Dec-07 23:57 
GeneralRe: Problem with Windows Services (Related to .NET Framework problem) Pin
Pete O'Hanlon1-Jan-08 10:48
mvePete O'Hanlon1-Jan-08 10:48 
QuestionRe: Problem with Windows Services (Related to .NET Framework problem) Pin
ashishbhatt1-Jan-08 16:23
ashishbhatt1-Jan-08 16:23 
QuestionHow to open only one application with one exe ?` Pin
Vicky2Galaxy31-Dec-07 0:27
Vicky2Galaxy31-Dec-07 0:27 
AnswerRe: How to open only one application with one exe ?` Pin
N a v a n e e t h31-Dec-07 1:42
N a v a n e e t h31-Dec-07 1:42 
AnswerRe: How to open only one application with one exe ?` Pin
Pete O'Hanlon1-Jan-08 10:53
mvePete O'Hanlon1-Jan-08 10:53 
GeneralRe: How to open only one application with one exe ?` Pin
Patrick Etc.1-Jan-08 12:18
Patrick Etc.1-Jan-08 12:18 
GeneralRe: How to open only one application with one exe ?` Pin
Pete O'Hanlon1-Jan-08 22:38
mvePete O'Hanlon1-Jan-08 22:38 
GeneralAmazon SQS REST API Date header issue Pin
eggie528-Dec-07 13:27
eggie528-Dec-07 13:27 
GeneralRe: Amazon SQS REST API Date header issue Pin
Paul Conrad31-Dec-07 9:18
professionalPaul Conrad31-Dec-07 9:18 
Questionpublishing resource folder [modified] Pin
ZenyukIV28-Dec-07 3:25
ZenyukIV28-Dec-07 3:25 
GeneralRe: publishing resource folder Pin
ZenyukIV3-Jan-08 20:21
ZenyukIV3-Jan-08 20:21 

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.