Đang chuẩn bị liên kết để tải về tài liệu:
Visual Basic .NET at Work Building 10 Enterprise Projects phần 8
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Chắc chắn, bạn có thể xuất dữ liệu đến một vài định dạng không đầy đủ, như CSV, nhưng mà nói không có gì chương trình nhận được về các dữ liệu. Vì vậy, làm thế nào để chúng tôi giúp các công ty này giải quyết vấn đề này? | 342 Project 8 Web Security You ve seen Web security all over the place. Any Web site that asks you to log in uses Web security of one sort or another. The .NET platform and ASP.NET give you a few options and let you build security into your Web sites and Web applications just like those you ve seen before. In fact that s what we ll be doing in our project. You can even secure different parts of a Web site or application with different levels of security. For example you might provide the entire public anonymous users with access to advertising and product information on your site. However only employees who log in and have proper access will be allowed to see the sales information. The primary focus of Web security is to redirect users to a login page when they try to access a part of the site that is restricted. The system will handle this for you automatically once you define and configure the access rights to the site. I will be covering this in detail later. What about Code Although we are focusing on Web security you can also secure code components. The .NET Framework provides a mechanism called code access security that allows us to specify the rights of code modules as well as users. Based on several criteria including where the code originated and what sort of guarantees are provided with it you can decide how much code can be trusted. You can actually specify what sorts of operations and access to resources that code modules have very much like users. This can reduce the likelihood of malicious code even being allowed to execute on your system. You can get some of these benefits merely by programming in an approved .NET-managed code programming language. However programming will be required on your part to take full advantage of it. The code access security system works something like this. You create code components that have specific access needs. For example your code module might need to read and write to the server registry. This would typically .