The three A's of Silverlight Security... (Part I)
· Authentication
· Access control
· Auditing
Authentication.
One of the critical requirements of any LOB application is authentication; before the user can use any function he will authenticate by giving a user id and password.
In an ASP.NET web application, this can easily be done by taking advantage of the membership provider and the server-side ASP.NET login controls. In Silverlight, there are two ways to enforce authentication: authentication outside and authentication inside.
Authentication outside is very straightforward and is similar to ASP.NET applications. With this approach, authentication happens in an ASP.NET based web page before the Silverlight application is displayed. The authentication context can be transferred into the Silverlight application through the InitParams parameter before a Silverlight application is loaded. The other approach is to use a webservice.