Enable SSO on a Silverlight/.NET Web application: NTLM?

Well, the only way I found was to get user via javascript and ActiveX control: var wshshell = new ActiveXObject("wscript. Shell"); var username = "UserID=" + wshshell. ExpandEnvironmentStrings("%username%") Of course this raises deployment issues since: all your users must use I.

E they must set I.E. Parameters to allow ActiveX I was lucky since 1st point was specifically mentionned, for point 2 I used a reg file to be executed on all computers couldn't find better.

Well, the only way I found was to get user via javascript and ActiveX control: var wshshell = new ActiveXObject("wscript. Shell"); var username = "UserID=" + wshshell. ExpandEnvironmentStrings("%username%"); Of course this raises deployment issues since: all your users must use I.E.They must set I.E. Parameters to allow ActiveX I was lucky since 1st point was specifically mentionned, for point 2 I used a .

Reg file to be executed on all computers, couldn't find better.

I use Silverlight, . NET 4 (with VB), RIA Services, and I develop under VS 2010. I'm trying to develop an application that allows SSO (Single Sign-On, i.e.

Automatic authentification on the application through Windows user name and Active Directory) and uses Forms authentication (to log against a DB if SSO fails), and this is where I have problems. At application start-up, get Windows user name via a call to the server with RIA services (equivalent of a Web Service), which then returns the name found through the HTTP request (HttpContext.Current.Request.LogonUserIdentity.Name). Why such a costly call?

Then try to log the user found against the Active Directory: this part is ok. Part 1 works on local (I indeed have something like "DOMAIN\USER", but this is because the dev Web server runs on my machine), but when the application is deployed on a remote server it no longer works (I then have "SERVICE NT\NETWORK" which I cannot use). Do you know how I could get rid of this big issue?

Use Windows Authentication, but how could I also validate users against the DB then?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions