Click here to Skip to main content
15,908,115 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Creating 3-Tier system, technology to use. Pin
RDoes29-Sep-08 1:00
RDoes29-Sep-08 1:00 
GeneralRe: Creating 3-Tier system, technology to use. Pin
Pete O'Hanlon29-Sep-08 1:57
mvePete O'Hanlon29-Sep-08 1:57 
QuestionC# reflection? Pin
ppayal26-Sep-08 0:58
ppayal26-Sep-08 0:58 
QuestionCitrix: Windows Forms Color Depth Pin
pierrecor24-Sep-08 21:40
pierrecor24-Sep-08 21:40 
QuestionInversion of Control in Compilers? Pin
Philip Laureano20-Sep-08 3:18
Philip Laureano20-Sep-08 3:18 
AnswerRe: Inversion of Control in Compilers? Pin
Pete O'Hanlon20-Sep-08 11:39
mvePete O'Hanlon20-Sep-08 11:39 
GeneralRe: Inversion of Control in Compilers? Pin
Paul Conrad20-Sep-08 11:56
professionalPaul Conrad20-Sep-08 11:56 
QuestionOpinions about user identification in multi-tier environment Pin
Wendelius19-Sep-08 9:40
mentorWendelius19-Sep-08 9:40 
Hi all,

In many situations I've encountered applications that are built using multiple tiers but user identification is limited only to few of these tiers (this is the opposite how I've usually done). For example in 3-tier approach, UI knows the user, calls to business logic are authenticated for example using Windows authentication, but commonly the database does not have any knowledge of the actual user executing the original request.

What I find disturbing in this scenario is that data protection in database (in my opinion) should be as critical as in any other layer (or even more critical). Also knowing the actual user in the database gives many possibilities that cannot easily be solved in middle-tier.

The question is: If you could share your opinion, which approach would be better and especially why? Should the actual user be used all the way down to the database or only between client and middle-tier?

Just to clarify, the question is not how to implement either scenario (that's already figured), but what are the pros and cons in either case.

Cheers, Smile | :)

Mika

modified on Saturday, September 20, 2008 1:27 PM

AnswerRe: User identification in multi-tier environment Pin
Scott Dorman19-Sep-08 10:43
professionalScott Dorman19-Sep-08 10:43 
GeneralRe: User identification in multi-tier environment Pin
Wendelius19-Sep-08 10:50
mentorWendelius19-Sep-08 10:50 
GeneralRe: User identification in multi-tier environment Pin
Scott Dorman19-Sep-08 10:55
professionalScott Dorman19-Sep-08 10:55 
GeneralRe: User identification in multi-tier environment Pin
Wendelius19-Sep-08 11:00
mentorWendelius19-Sep-08 11:00 
AnswerRe: Opinions about user identification in multi-tier environment Pin
Mark Churchill23-Sep-08 23:26
Mark Churchill23-Sep-08 23:26 
GeneralRe: Opinions about user identification in multi-tier environment Pin
Wendelius24-Sep-08 8:17
mentorWendelius24-Sep-08 8:17 
GeneralRe: Opinions about user identification in multi-tier environment Pin
Mark Churchill24-Sep-08 19:03
Mark Churchill24-Sep-08 19:03 
GeneralRe: Opinions about user identification in multi-tier environment Pin
Wendelius29-Sep-08 3:48
mentorWendelius29-Sep-08 3:48 
AnswerRe: Opinions about user identification in multi-tier environment Pin
cpkilekofp25-Sep-08 6:38
cpkilekofp25-Sep-08 6:38 
GeneralRe: Opinions about user identification in multi-tier environment Pin
Wendelius29-Sep-08 3:53
mentorWendelius29-Sep-08 3:53 
QuestionObject Databases, Non Volatile RAM and Far Caches Pin
FrankSzendzielarz17-Sep-08 3:12
FrankSzendzielarz17-Sep-08 3:12 
Questionsub routines Pin
CodingYoshi16-Sep-08 4:40
CodingYoshi16-Sep-08 4:40 
AnswerRe: sub routines Pin
Pete O'Hanlon16-Sep-08 12:05
mvePete O'Hanlon16-Sep-08 12:05 
AnswerRe: sub routines Pin
Paul Conrad16-Sep-08 12:30
professionalPaul Conrad16-Sep-08 12:30 
GeneralRe: sub routines Pin
CodingYoshi22-Sep-08 13:04
CodingYoshi22-Sep-08 13:04 
QuestionDetecting analog pulses in Software Pin
JohnnyG11-Sep-08 14:20
JohnnyG11-Sep-08 14:20 
QuestionClearing controls Pin
CodingYoshi5-Sep-08 6:26
CodingYoshi5-Sep-08 6:26 

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.