TAILIEUCHUNG - Professional ASP.NET 3.5 in C# and Visual Basic Part 121

Professional in C# and Visual Basic Part 121. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 25 File I O and Streams C file new Location BR Size BR Created BR Modified BR Accessed BR Attributes Access Control Lists Although getting the properties and attributes is useful what many developers need is the capability to actually change the Access Control Lists or ACLs pronounced Ackels on directories and files. ACLs are the way resources such as directories and files are secured in the NTFS file system which is the file system used by Windows XP NT 2000 and 2003. You can view a file s ACLs by selecting the Security tab from the file s Properties dialog. Figure 25-8 shows the ACLs set for the file you created. Figure 25-8 Using the new namespace in the .NET Framework you can query the file system for the ACL information and display it in a Web page as shown in Listing 25-10. 1160 Chapter 25 File I O and Streams Listing 25-10 Access Control List information VB script runat server Protected Sub Page_Load ByVal sender As Object ByVal e As retrieve the AccessControl information for this file Dim sec As sec _ GetType .Value retrieve the collection of access rules Dim auth As _ true true _ GetType Dim tc As TableCell loop through the rule collection and add a table row for each rule For Each r As In auth Dim tr As New TableRow tc New TableCell deny or allow tc tc New TableCell .

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.