Home > Security Tips > Web Security Advisor > ASP.NET authentication: Three new options for Web services
Security Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WEB SECURITY ADVISOR

ASP.NET authentication: Three new options for Web services


Mike Chapple, CISSP
03.11.2004
Rating: -2.33- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Web developers migrating to ASP.NET are about to find themselves faced with new authentication options available for use in Web services. These tools offer greatly enhanced functionality over prior authentication mechanisms and allow you to seamlessly integrate the appropriate level of security into your applications.

Let's take a brief look at each of the three authentication modes supported by ASP.NET.

  • Forms Authentication is the most popular (and most flexible) authentication technique. It replaces the common login form manually coded by many developers with an easy-to-use implementation available within the .NET framework. When an unauthenticated user requests a protected resource, IIS redirects him to a login page requiring a valid username and password. After successful authentication, IIS returns a cookie with reusable login credentials to the user's browser. Future requests are made with the assistance of this cookie. Re-authentication is not required until the cookie expires at a time set by the developer.


MORE INFORMATION ON SECURING WEB SERVICES:

  • Windows Authentication is familiar to IIS Web developers who worked with older versions of Visual Studio. It allows users with a Windows account to authenticate to the server using IIS' standard authentication techniques:
    • Basic authentication transmits usernames and passwords "in the clear" without any authentication.
    • Digest authentication uses nonce-based encryption to secure the username/password exchange.
    • Integrated Windows authentication provides additional security through the use of Kerberos or NT Challenge/Response authentication.

  • Passport Authentication allows users of Microsoft's Passport service to use their existing .NET Passport credentials to authenticate to your site. This technique is mainly used by extremely large-scale Web sites, such as Microsoft's own MSN network, the USA Today Web site and e-Bay.

So which authentication mechanism is right for you? It depends upon your needs. If you're building a public Web application that will see large-scale use, you'll probably find Forms Authentication the most flexible and appropriate technique. Windows Authentication offers a viable alternative when users already possess a domain account. This makes it an ideal choice for intranet applications and minimizes the number of times users must provide their authentication credentials during a single session. Microsoft's Passport is a great idea in theory, but it's unlikely that you'll find it useful enough to justify the $10,000 annual licensing fee charged by Microsoft.

About the author
Mike Chapple, CISSP, currently serves as Chief Information Officer of the Brand Institute, a Miami-based marketing consultancy. He previously worked as an information security researcher for the U.S. National Security Agency. His publishing credits include the TICSA Training Guide from Que Publishing, the CISSP Study Guide from Sybex and the upcoming SANS GSEC Prep Guide from John Wiley. He's also the About.com Guide to Databases.


Rate this Tip
To rate tips, you must be a member of SearchSecurity.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Web Security Advisor
DNS rebinding defenses still necessary, thanks to Web 2.0
New defenses for automated SQL injection attacks
PCI compliance and Web applications: Code review or firewalls?
Worst practices: Bad security incidents to avoid
Web scanning and reporting best practices
Social networking Web site threats manageable with good enterprise policy
Enterprise security in 2008: Building trust into the application development process
PCI DSS Section 6: A plan for tackling application security
Making the case for Web application vulnerability scanners
Preparing for uniform resource identifier (URI) exploits

Web Access Control
Vista WIL: How to take control of data integrity levels
Video: Changes ahead for MIT Kerberos Consortium
Kerberos security evolves for B2B, mobile tech
Kerberos: Authentication with some drawbacks
Sun shifts strategy with GRC push
CardSpace vs. user IDs and passwords
What are the risks of connecting a Web service to an external system via SSL?
Enterprise security in 2008: Assessing access management
Survey: Security Pros Identify Priorities for 2008
How does identity propagation work?

Web Services Security and SOA Security
MySpace, Facebook ignoring basic principles of security
Kaminsky: DNS flaw capable of attacks on many fronts
Information security book excerpts and reviews
Kaminsky on DNS rebinding attacks, hacking techniques
Which operating system can best secure an FTP site?
IBM's Watchfire halts network research, focuses on Web apps
How does identity propagation work?
Citrix adds Web security with acquisition
Are attackers using malware to exploit service oriented architectures?
Using an XML security gateway in a service-oriented architecture

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
access log  (SearchSecurity.com)
anonymous Web surfing  (SearchSecurity.com)
authentication, authorization, and accounting  (SearchSecurity.com)
identity chaos  (SearchSecurity.com)
multifactor authentication (MFA)  (SearchSecurity.com)
walled garden  (SearchSecurity.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Research Solutions for Network Security, Access Control and Security Threats
More Security Resources for Resellers, VARs and OEMs
TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts