I am new to AngularJS. I am writing up my first Intranet web application using AngularJS, Web API and Entity Framework. One requirement is that a visitor needs to be checked against an AD group or SQL table before they can visit any page. I am thinking to achieve this by the following:
1. Use <authentication mode="Windows"/> and <identity impersonate ="true"/> in my web application, and ‘Anonymous Access’ disabled and only ‘Integrated Windows Authentication’ in IIS 2. Use Page.User.Identity.Name to obtain windows logon name of the visitor. 3. Check the user logon name obtained in step 2 to see if it's in an AD group or a SQL table. Will this work at all? If so, which one is easier, using AD group or SQL? Any example or pointer would be appreciated. Thanks, Jerry -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
