asp.net - Bring the users identity from the presentation tier to the application tier -


For our n-level application, we are looking for a way to use the identity level from the presentation level to the application level Are there. Our application is a classic 3-level application with low levels:

  • UI - presentation level
  • Application / WCF category
  • Database level

    The app is not coming to the internet and can connect to the presentation-level local network. Our problem is that a user enters the presentation level and we want the presentation level to pass, although the identification level of user aspects is the level. How can this be done? Is it possible to do this with a claim based authentication? We are currently looking to implement IWSTrust13SyncContract in the STS service, but it seems that the user should be accessible to the application level for the browser. Can someone give me some suggestions about how to contact this

    You can represent the impersonation / delegation Or use reliable subsystem models - See

    Impersonation / Delegation works best with Windows authentication, but it may still be that your presentation is reliable for tier server delegation.

    • In this model, the application level authenticates and authorizes the end user.

      With a more general reliable subsystem model:

      • The presentation tier authenticates the end user
      • The application-level usually wants to authenticate the presentation tier Such as the use of Windows authentication and accept the request from the service account that only runs the presentation step, or some other authentication method, e.g.
      • Use the client certificate, only accept the request from a specific IP address, ...
      • Depends on the application-level presentation tier to authorize the end user

        Methods of handling the authorization:

        • The presentation class calls the application category through a mask. This mask is used by applicanton tier All the necessary authorities are.

        • The application-level application-level passes through the end-user's identity. It may be in-band (polluting your operation contracts with an additional parameter), or may be out-of-band, e.g. In a custom SOAP header, if you use a SOAP header, you can make your application code transparent with WCF using the virtual client-side to inject the headers, and take action on the header For server-side you can.

          Whether with the in-band or out-of-band, you are relying on the rendering tier, so that it can be identified that it passes through the application level. Therefore it is important to prove the level of presentation, and to protect against human-in-the-middle attacks, on the basis of your environment, e.g. Using HTTPS.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -