Check the installation folder for \Demos\AuthenticateWebApp
The sample uses a single ASP.NET application for both flex and flash based client.
This sample is provided as a guide to assist you in configuring security and is for informational purposes only.