Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Build Your Own ASP.NET 2.0 Web Site Using CSharp And VB (2006) [eng].pdf
Скачиваний:
77
Добавлен:
16.08.2013
Размер:
15.69 Mб
Скачать

Summary

This method returns True if the current user is a member of the specified role, and False if he or she is not.

Summary

In this chapter, we examined the approaches you can use to secure your ASP.NET applications. You learned how to create a simple login page, configure the Web.config file to handle authentication and authorization, and check for user names and passwords using a database.

ASP.NET 2.0’s new membership features provide extraordinary built-in functionality, and we have explored a number of these features through this chapter. The complete list of features is much larger, and, as we mentioned at the beginning of this chapter, there are entire books that deal solely with this topic.

In Chapter 14, we’ll learn to work with files and directories, and send email messages using ASP.NET.

569

570