Note that there are some explanatory texts on larger screens.

plurals
  1. POMVC2 Apps (and others) sharing WCF services and authentication
    primarykey
    data
    text
    <p>I've seen several similar scenarios explained here but not my particular one. I wonder if someone could tell me which direction to go in?</p> <p>I am developing two (and more later) MVC2 apps. There will also be another (thicker) client later on (WPF or Silverlight, TBD). These all need to share the same authentication. For the MVC2 apps they (preferably) need to be single log on - ie if a user logs in to one MVC2 app, they should be authorised on the other, as long as the cookie hasn't timed out.</p> <p>Forms authentication is to be used.</p> <p>All the apps need to use common business functionality and perform db access via a common WCF Service App. It would be nice (I think) if the WCF is not publicly accessible (ie blocked behind FW). The thicker client could use an additional service layer to access the Common WCF App.</p> <p>What this should look like is:</p> <p>MVCApp1 -> WCFAppCommon</p> <p>MVCApp2 -> WCFAppCommon</p> <p>ThickClient -> WCFApp2 -> WCFAppCommon</p> <p>Is it possible to carry out all the authentication/authorization in the WCFAppCommon? Otherwise I think I'll have to repeat all the security logic in the MVCApps and WCFApp2, whereas, to me, it seems to sit naturally in WCFAppCommon. On the otherhand, it seems if I authenticate/authorize in WCFAppCommon, I wouldn't be able to use Forms Authentication.</p> <p>Where I've seen possible solutions (that I haven't tried yet) they seem much more complex than Forms Authentication and a single DB.</p> <p>Any help appreciated,</p> <p>Phil</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload