TAILIEUCHUNG - Visual C# 2010 Recipes solution_5

Tham khảo tài liệu 'visual c# 2010 recipes solution_5', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | CHAPTER 11 SECURITY AND CRYPTOGRAPHY Note CAS is deprecated in .NET . How It Works To minimize the security risks posed by malicious code the runtime does not allow assemblies granted only partial trust to access strongly named assemblies. This restriction dramatically reduces the opportunity for malicious code to attack your system but the reasoning behind such a heavy-handed approach requires some explanation. Assemblies that contain important functionality that is shared between multiple applications are usually strongly named and are often installed in the Global Assembly Cache GAC . This is particularly true of the assemblies that constitute the .NET Framework class library. Other strongly named assemblies from well-known and widely distributed products are in the GAC and accessible to managed applications. The high chance that certain assemblies will be present in the GAC their easy accessibility and their importance to many different applications make strongly named assemblies the most likely target for any type of subversive activity by malicious managed code. Generally the code most likely to be malicious is that which is loaded from remote locations over which you have little or no control such as over the Internet . Under the default security policy of the .NET Framework all code run from the local machine has full trust whereas code loaded from remote locations has only partial trust. Stopping partially trusted code from accessing strongly named assemblies means that partially trusted code has no opportunity to use the features of the assembly for malicious purposes and cannot probe and explore the assembly to find exploitable holes. Of course this theory hinges on the assumption that you correctly administer your security policy. If you simply assign all code full trust not only will any assembly be able to access your strongly named assembly but the code will also be able to access all of the functionality of the .NET Framework and even Win32 or .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.