<p>We can successfully consume a .NET 2.0 web service from a Flex/AS3 application. Aside from SSL, how else can we make the security more robust (i.e., authentication)?</p>

[{'answer_id': 60073, 'author': 'Tyler', 'author_id': 5642, 'author_profile': 'https://Stackoverflow.com/users/5642', 'pm_score': 0, 'selected': False, 'text': "<p>If you're talking about <strong>securing the information</strong> going over the wire, you can use Web Service Extensions (WSE) to encrypt the body of the soap message so that you don't have to secure the channel. This way the message can get passed around from more than one endpoint (ie. it can get forwarded) and you don't need multiple https certs.</p>\n\n<p>If you're talking abut <strong>autentication</strong> then you could do forms auth with either a password in the body or in the soap headers (once again either encrypt the body or the channel). Or one of the easiest ways to secure a webservice (if it's an internal set of services) is have IIS do it, turn on NTLM and do authentication there. You can do authorization later on in the pipeline with an HTTPModule that checks peoples credential against the code they're trying to call.</p>\n"}, {'answer_id': 194578, 'author': 'James Fassett', 'author_id': 27081, 'author_profile': 'https://Stackoverflow.com/users/27081', 'pm_score': 0, 'selected': False, 'text': '<p>Consider using WebOrb to communicate with your service. Here is some information on <a href="http://www.themidnightcoders.com/doc20/security/authentication.htm" rel="nofollow noreferrer">WebOrb\'s authentication mecahnism</a>. There is also an <a href="http://www.adobe.com/devnet/flex/articles/net_security.html" rel="nofollow noreferrer">article on Adobe\'s developer site on using WebOrb and .Net for authentication</a>.</p>\n'}, {'answer_id': 196130, 'author': 'matt eisenberg', 'author_id': 14654, 'author_profile': 'https://Stackoverflow.com/users/14654', 'pm_score': 2, 'selected': False, 'text': "<p>You can leverage ASP.Net's built in session management by decorating your webmethods with </p>\n\n<blockquote>\n  <p><code>&lt;EnableSession()&gt;</code></p>\n</blockquote>\n\n<p>Then, inside your method, you can check that the user still has a valid session.</p>\n"}, {'answer_id': 198537, 'author': 'Jeff Schumacher', 'author_id': 27498, 'author_profile': 'https://Stackoverflow.com/users/27498', 'pm_score': 0, 'selected': False, 'text': "<p>You should be able to use asp.net's authentication (such as forms authentication) without much extra effort.  Securing an asmx file is just like securing an aspx file.  There's a ton of information on forms authentication out there, just search for 'asp.net forms authentication'</p>\n"}, {'answer_id': 2411240, 'author': 'ALOToverflow', 'author_id': 127856, 'author_profile': 'https://Stackoverflow.com/users/127856', 'pm_score': 0, 'selected': False, 'text': '<p>If you are using Microsoft technologies you could build a little Asp.Net/C# application that would ask for credentials before redirecting to the correct swf.</p>\n\n<p>That way you could restrict the access and have different swf file depending on the user.</p>\n'}]
['https://Stackoverflow.com/questions/59945', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/5592/']