Tài liệu PDF Printer Server tài liệu, giáo án, bài giảng , luận văn, luận án, đồ án, bài tập lớn về tất cả các lĩnh vực...
A Practical Guide to By Manas Tungare www.manastungare.com Active Server Pages Microsoft 3.0 ACTIVE SERVER PAGES 3.0 2 About this guide . This practical guide was prepared as a reference for the ASP Workshop conducted by Manas Tungare at Fr. Conceicao Rodrigues College of Engineering in October 2000. The examples and samples used in this guide can be found on the web at: http://www.manastungare.com/asp Thanks to Pankaj Kamat for proofreading this document. Copyright © 2000, Manas Tungare. http://www.manastungare.com/ Every effort has been made to ensure correctness & reliability of the information provided, however the author may not be held responsible for any errors that may have crept in. ACTIVE SERVER PAGES 3.0 3 INTRODUCTION 6 THE NEED FOR ASP 6 SO WHAT IS ASP ? 6 WHAT CAN YOU DO WITH ACTIVE SERVER PAGES? 7 WHAT DO SERVER-SIDE SCRIPTS LOOK LIKE? 7 WHAT YOU NEED TO RUN ASP 7 INTERNET INFORMATION SERVICES 7 PERSONAL WEB SERVER 8 BEFORE YOU BEGIN … 8 STEPS FOR INSTALLATION 8 CREATING VIRTUAL DIRECTORIES 8 ACCESSING YOUR WEBPAGE 8 WHAT IS LOCALHOST? 9 HELLO, WORLD (AND MORE …) ! 10 ANOTHER WAY … 10 DISPLAYING THE DATE … 11 … AND MORE 11 VARIABLES AND CONSTRUCTS 13 DIM ‘EM FIRST 13 THE BIG IF 14 FOR-NEXT LOOPS 16 FOR EACH OBJECT IN COLLECTION . 18 WHILE . WEND 18 SELECT CASE: 19 COMPLEX CONDITIONS & CONNECTIVES: 19 AND, OR AND NOT 19 SUBROUTINES, FUNCTIONS AND INCLUDES 20 SUBROUTINES 20 FUNCTIONS 20 INCLUDES 21 THE OBJECT MODEL 23 THE REQUEST OBJECT 23 SYNTAX 24 COLLECTIONS 24 METHODS 24 NOTE 24 REQUEST.SERVERVARIABLES 25 THE RESPONSE OBJECT 26 SYNTAX 26 COLLECTIONS 26 PROPERTIES 26 METHODS 27 THE SERVER OBJECT 28 SYNTAX 28 PROPERTIES 28 METHODS 28 THE SESSION OBJECT 28 SYNTAX 29 COLLECTIONS 29 PROPERTIES 29 METHODS 29 EVENTS 29 THE APPLICATION OBJECT 29 SYNTAX 30 COLLECTIONS 30 EVENTS 30 HANDLING USER INPUT : FORMS & QUERYSTRINGS 31 Printer Server Printer Server Bởi: Phạm Nguyễn Bảo Nguyên Thông thường để tiết kiệm chi phí thường sử dụng phương pháp chia sẻ qua mạng trang bị thiết bị phần cứng có khả chia sẻ máy in (máy in tích hợp card LAN)… Tuy nhiên với phương pháp ta kiểm soát người dùng in gì, giới hạn thêm quyền cho User, Group Chính với việc lập Printer Server giúp ta giải triệt để ý đồ mà ta muốn thiết lập Trước tiên cần nắm khái niệm sau:- Máy in có tác dụng in tài liệu giấy gọi máy in vật lý, máy in hiển thị Printers and Faxes gọi máy in logic - Khi ta in tài liệu mà máy in nối trực tiếp với máy tính gọi Local printer ta in tài liệu mà máy in kết nối trực tiếp với máy khác thông qua mạng LAN gọi Network printer Để chạy Print Server bạn vào Start -> Settings -> Printers and Faxes 1/13 Printer Server Mặc nhiên hoàn toàn trống rỗng chưa khai báo máy in cả, ví dụ mua máy in vật lý HP 2000C Epson ActionLaser 1000 tiến hành thiết lập chúng cách nhấp vào Add a printer Vì ngồi máy Server mà máy in nối trực tiếp với máy Server nên ta chọn mục Local printer attached to this computers 2/13 Printer Server Tại mục Select a Printer Port ta chọn cổng kết nối tương ứng với máy, ví dụ giả sử máy in HP 2000C kết nối qua cổng LPT1 Epson 1000 kết nối qua cổng LPT2 3/13 Printer Server Tại mục Install Printer Software ta chọn Driver tương ứng cho máy chèn đĩa CD Driver vào Tại Printer Sharing ta chọn Share name tên mặc định mà Windows gán cho máy in 4/13 Printer Server Và kết cuối ta thu Để xem & chỉnh sửa thuộc tính máy in bạn nhấp phải vào Printer cần chỉnh chọn Properties 5/13 Printer Server Ta ý Tab Advaned gồm mục sau: - Always available: trạng thái sẵn sàng- Available from: trạng thái sẵn sàng ứng với mà ta gán - Priority: độ ưu tiên (từ 1->99) máy in có độ ưu tiên cao User hay Group thuộc máy in ưu tiên in tài liệu trước máy in có độ ưu tiên thấp 6/13 Printer Server Trong ví dụ gán quyền cho Group Administrators & user gccom1 có quyền in máy in Epson 1000 7/13 Printer Server Bây logoff Windows đăng nhập với user gccom2 ta thấy máy in HP 2000C mà user quyền hạn máy in Epson 1000 Logon trở lại với quyền Administrator chọn thuộc tính máy in Epson 1000 chọn tab Port Check ô Enable printer pooling chọn port máy in HP 2000C & Epson 1000, lúc với user có quyền Print máy máy in tài liệu in tự động trải máy nhằm giảm tải cho máy giảm thời gian in 8/13 Printer Server Bây giả sử ta muốn add User hay Group đặc biệt cho dù phát lệnh in sau user thường khác ưu tiên in trước user đó, giả sử muốn cho ngài Giám đốc công ty có user Administrator ưu tiên in máy Epson 1000, Add thêm máy in Logic Epson 1000 9/13 Printer Server Tại ô Printer name đặt lại tên khác cho dễ nhận diệncác thao tác lại tương tự 10/13 Printer Server Lúc Printer and Faxes xuất máy in Epson ActionLaser 1000 Giam Doc & Epson ActionLaser 1000 tên khác chúng sử dụng chung máy in vật lý máy in Epson ActionLaser 1000 Tôi gán độ ưu tiên cho máy Epson ActionLaser 1000 Giam Doc đương nhiên máy in gán quyền sử dụng cho ngài Giám đốc Khi dù gccom1 có quyền máy Epson ActionLaser 1000 có độ ưu tiên thấp ông Giám đốc máy in Epson ActionLaser 1000 Giam Doc nên cho dù User có phát lệnh in trước vận xếp hàng chờ in sau ngài Giám đốc 11/13 Printer Server Khi User phát lệnh in lệnh tạo thành file tạm mang thuộc tính riêng lẽ nằm ổ đĩa hệ thống máy, công việc in sau hoàn tất hệ thống tự xóa file Như mạng lớn lệnh in gởi tấp nập vô tình làm cho ổ đĩa hệ thống tạo & xóa liên tục lâu ngày làm ảnh hưởng đến ổ đĩa cứng Do thực tế người ta chuyển thư mục mặc định đến ổ cứng khác với ổ hệ thống để giảm rủi ro xảy Ta chọn File -> Server Properties Chọn Tab AdvancedThư mục mặc định mày Spool folder ta tiến hành chuyển đổi xong 12/13 Printer Server 13/13 Oracle Security Server Guide Release 2.0.3 June, 1997 Part No. A54088-01 Oracle Security Server Guide Part No. A54088-01 Release 2.0.3 Copyright © 1997 Oracle Corporation All rights reserved. Printed in the U.S.A Primary Author: Kendall Scott Contributing Authors: Mary Ann Davidson, Gilbert Gonzalez, John Heimann, Patricia Markee, Rick Wessman Contributors: Quan Dinh, Jason Durbin, Gary Gilchrist, Wendy Liau, Bob Porporato, Andy Scott, Andre Srinivasan, Juliet Tran, Sandy Venning The Programs that this manual accompanies are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be licensee's responsibility to take all appropriate fail-safe, back up, redundancy and other measures to ensure the safe use of such appli- cations if the Programs are used for such purposes, and Oracle disclaims liability for any damages caused by such use of the Programs. These Programs contain proprietary information of Oracle Corporation; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright patent and other intellectual property law. Reverse engineering of the software is prohibited. The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. Oracle Corporation does not warrant that this document is error free. If the associated Programs are delivered to a U.S. Government Agency of the Department of Defense, then they are delivered with Restricted Rights and the following legend is applicable: Restricted Rights Legend Programs delivered subject to the DOD FAR Supplement are 'commercial computer software' and use, duplication and disclosure of the Programs shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, Programs delivered subject to the Federal Acquisition Regulations are 'restricted computer software' and use, duplication and disclo- sure of the Programs shall be subject to the restrictions in FAR 52 227-14, Rights in Data -- General, including Alternate III (June 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065. This product contains security software from RSA Data Security, Inc. Copyright 1994 RSA Data Security, Inc. All rights reserved. This version supports International Security with RSA Public Key Cryptography, MD2, MD5, and RC4. This product also contains encryption and/or authentication engines from RSA Data Security, Inc. Copyright 1996 RSA Data Security, Inc. All rights reserved. The Programs that this manual accompanies contain data encryption routines which are subject to export regulations, and which may be subject to usage restrictions in your country. By opening this package, you agree to comply fully with all United States government laws and regulations to assure that neither the Programs, nor any direct product thereof, are exported, directly or indirectly, in violation of United States law. You further agree to comply fully with any applicable local laws regarding the use of these Programs. These Programs may not be transferred outside the country where delivery is taken or transferred, sold, assigned, or otherwise conveyed to another party without Oracle’s prior written consent. Oracle and SQL*Net are registered trademarks of Oracle Corporation. Net8, Oracle7, Oracle8, Oracle Advanced Networking Option, Oracle Enterprise Manager, and Oracle Names are trademarks of Oracle Corporation. All other products or company names are used for identification purposes only, and may be trademarks of their respective owners. Preface Oracle Security Server Guide describes the features, Gỡ bỏ server Exchange 2003 đầu tiên (Phần II) Ngu ồn : quantrimang.com Các công việc còn lại bạn cần thực hiện nhằm đảm bảo cho server Exchange đầu tiên có thể được ngưng hoạt động một cách an toàn và thành công. Giới thiệu Ngừng hoạt động một server Exchange 2003 cũ là quá trình khá dễ dàng. Nhưng bạn sẽ cần bổ sung thêm một số bước nếu đó là server đầu tiên cài đặt trong một nhóm quản trị. Nguyên nhân là do server Exchange này nắm giữ nhiều yếu tố cấu hình cụ thể hoặc các vai trò bổ sung có thể không chuyển sang server Exchange khác trong cùng nhóm quản trị được. Bỏ ra chút thời gian kiểm chứng để chắc chắn rằng các vai trò bổ sung đã được chuyển chính xác và thành công sang server Exchange mới, bạn có thể giúp mình tránh được nhiều vấn đề đau đầu sau này khi muốn ngừng hoạt động các server Exchange khác. Trong phần một của loạt bài này, chúng tôi đã xem xét các bước cần thiết để sao chép một số th ư mục hệ thống quan trọng sang server Exchange mới cũng được cài đặt trong nhóm quản trị. Chúng tôi còn cung cấp các bước cần thiết để đảm bảo bộ Danh sách địa chỉ offine (Offline Address List) được server mới tạo ra và không có server nào bị ngừng hoạt động không như ý. Trong phần hai này chúng tôi sẽ tiếp tục thảo luận một số công việc còn lại cần thực hiện để đảm bảo server Exchange đầu tiên có thể được g ỡ bỏ an toàn và thành công. Tái thiết lại Recipient Update Service Recipient Update Service, hay thường được biết đến với cái tên viết tắt RUS, là một thành phần quan trong của Exchange 2000 và Exchange 2003 nhưng lại có thể dễ dàng bị bỏ sót trong quá trình ngừng hoạt động server. Nhiệm vụ chính của RUS là xác nhận địa chỉ chính xác các tài khoản người dùng. Sai sót trong quá trình tái thiết lại thành phần này có thể khiến server mới bị mất chức năng thẩm định tài khoản người dùng. Do RUS đượ c cấu hình với các tên của cả server Exchange và bộ điều khiển tên miền nên một cách tự nhiên RUS được xác định tên của server Exchange đầu tiên đã cài đặt. Trừ khi bạn thay đổi một số điểm khi thiết lập thì mới xuất hiện một số điểm khác. Bạn nên kiểm tra lại cầu hình này trước khi cho server cũ ngừng hoạt động. Để thay đổi cấu hình sang server Exchange mới, thực hiệ n theo các bước sau: 1. Chạy snap-in Exchange System Manager. 2. Xác định vị trí đối tượng Recipients và mở rộng nó. Bên dưới Recipients bạn sẽ thấy có thành phần Recipient Update Services. Di chuyển đến vị trí của thành phần này. 3. Bây giờ trong khung bên phải bạn sẽ thấy một danh sách các đối tượng Recipient Update Services đã được cấu hình. Hai đối tượng nhỏ nhất được minh hoạ trong hình 1. Điều quan trọng cần chú ý là bất kỳ một RUS nào có cột Exchange Server là DCEX1 (server bị gỡ b ỏ) đều cần phải được sửa lại. Hình 1: Recipient Update Services 4. Kích phải chuột lên từng RUS để tái thiết lại và chọn Properties. Bạn sẽ thấy một màn hình tương tự như hình 2 xuất hiện. Hình 2: RUS Properties (Các đặc tính RUS) 5. Trên tab General của phần Properties RUS, bạn sẽ thấy trường Exchange Server có chứa tên của một server Exchange. Bạn cần chắc chắn rằng server này không phải là server cũ sẽ được gỡ bỏ (trong trường hợp này là DCEX1). Nếu server cũ được thiết lập, bạn cần thay đổi bằng cách dùng nút Browse rồi chọn server mới. Sau khi bấm Browse, cửa sổ Select Exchange Server mở ra. Gõ tên server mới và kích vào nút Check Names. 6. Giả sử server mới có tên được gạch chân, kích vào OK để trở lại cửa sổ Properties của MCSE Windows ® Server 2003 EXAM GUIDE Brian Culp, Mike Harwood, Jason Berg with Drew Bird McGraw-Hill/Osborne New York • Chicago • San Francisco • Lisbon London • Madrid • Mexico City • Milan • New Delhi San Juan • Seoul • Singapore • Sydney • Toronto Copyright © 2004 by The McGraw-Hill Companies. All rights reserved. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher. ISBN: 978-0-07-163353-6 MHID: 0-07-163353-7 The material in this eBook also appears in the print version of this title: ISBN: 978-0-07-222406-1, MHID: 0-07-222406-1. All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training programs. To contact a representative please visit the Contact Us page at www.mhprofessional.com. Information has been obtained by McGraw-Hill/Osborne from sources believed to be reliable. However, because of the possibility of human or mechanical error by our sources, McGraw-Hill/Osborne, or others, McGraw-Hill/Osborne does not guarantee the accuracy, adequacy, or completeness of any information and is not responsible for any errors or omissions or the results obtained from the use of such information. TERMS OF USE This is a copyrighted work and The McGraw-Hill Companies, Inc. (“McGraw-Hill”) and its licensors reserve all rights in and to the work. Use of this work is subject to these terms. Except as permitted under the Copyright Act of 1976 and the right to store and retrieve one copy of the work, you may not decompile, disassemble, reverse engineer, reproduce, modify, create derivative works based upon, trans- mit, distribute, disseminate, sell, publish or sublicense the work or any part of it without McGraw-Hill’s prior consent. You may use the work for your own noncommercial and personal use; any other use of the work is strictly prohibited. Your right to use the work may be terminated if you fail to comply with these terms. THE WORK IS PROVIDED “AS IS.” McGRAW-HILL AND ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS TO BE OBTAINED FROM USING THE WORK, INCLUD- ING ANY INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WAR- RANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. McGraw-Hill and its licensors do not warrant or guarantee that the functions contained in the work will meet your requirements or that its operation will be uninterrupted or error free. Neither McGraw-Hill nor its licensors shall be liable to you or anyone else for any inaccuracy, error or omission, regardless of cause, in the work or for any damages resulting therefrom. McGraw-Hill has no responsibility for the content of any information accessed through the work. Under no circumstances shall McGraw-Hill and/or its licensors be liable for any indirect, incidental, special, punitive, conse- quential or similar damages that result from the use of or inability to use the work, even if any of them has been advised of the possibility of such damages. This limitation of liability shall apply to any claim or cause whatsoever whether such claim or cause arises in contract, tort or otherwise. Disclaimer: This eBook does not include the ancillary media that was packaged with the original printed version of the book. The A Practical Guide to By Manas Tungare www.manastungare.com Active Server Pages Microsoft 3.0 ACTIVE SERVER PAGES 3.0 2 About this guide . This practical guide was prepared as a reference for the ASP Workshop conducted by Manas Tungare at Fr. Conceicao Rodrigues College of Engineering in October 2000. The examples and samples used in this guide can be found on the web at: http://www.manastungare.com/asp Thanks to Pankaj Kamat for proofreading this document. Copyright © 2000, Manas Tungare. http://www.manastungare.com/ Every effort has been made to ensure correctness & reliability of the information provided, however the author may not be held responsible for any errors that may have crept in. ACTIVE SERVER PAGES 3.0 3 INTRODUCTION 6 THE NEED FOR ASP 6 SO WHAT IS ASP ? 6 WHAT CAN YOU DO WITH ACTIVE SERVER PAGES? 7 WHAT DO SERVER-SIDE SCRIPTS LOOK LIKE? 7 WHAT YOU NEED TO RUN ASP 7 INTERNET INFORMATION SERVICES 7 PERSONAL WEB SERVER 8 BEFORE YOU BEGIN … 8 STEPS FOR INSTALLATION 8 CREATING VIRTUAL DIRECTORIES 8 ACCESSING YOUR WEBPAGE 8 WHAT IS LOCALHOST? 9 HELLO, WORLD (AND MORE …) ! 10 ANOTHER WAY … 10 DISPLAYING THE DATE … 11 … AND MORE 11 VARIABLES AND CONSTRUCTS 13 DIM ‘EM FIRST 13 THE BIG IF 14 FOR-NEXT LOOPS 16 FOR EACH OBJECT IN COLLECTION . 18 WHILE . WEND 18 SELECT CASE: 19 COMPLEX CONDITIONS & CONNECTIVES: 19 AND, OR AND NOT 19 SUBROUTINES, FUNCTIONS AND INCLUDES 20 SUBROUTINES 20 FUNCTIONS 20 INCLUDES 21 THE OBJECT MODEL 23 THE REQUEST OBJECT 23 SYNTAX 24 COLLECTIONS 24 METHODS 24 NOTE 24 REQUEST.SERVERVARIABLES 25 THE RESPONSE OBJECT 26 SYNTAX 26 COLLECTIONS 26 PROPERTIES 26 METHODS 27 THE SERVER OBJECT 28 SYNTAX 28 PROPERTIES 28 METHODS 28 THE SESSION OBJECT 28 SYNTAX 29 COLLECTIONS 29 PROPERTIES 29 METHODS 29 EVENTS 29 THE APPLICATION OBJECT 29 SYNTAX 30 COLLECTIONS 30 EVENTS 30 HANDLING USER INPUT : FORMS & QUERYSTRINGS 31 Proxy server Proxy server Bởi: Wiki Pedia Proxy Internet server làm nhiệm vụ chuyển tiếp thông tin kiểm soát tạo an toàn cho việc truy cập Internet máy khách, gọi khách hàng sử dụng dịch vụ internet Trạm cài đặt proxy gọi proxy server Proxy hay trạm cài đặt proxy có địa IP cổng truy cập cố định Ví dụ: 123.234.111.222:80 Địa IP proxy ví dụ 123.234.111.222 cổng truy cập 80 Chức proxy Một số hãng công ty sử dụng proxy với mục đích: Giúp nhiều máy tính truy cập Internet thông qua máy tính với tài khoản truy cập định, máy tính gọi Proxy server Chỉ máy Proxy cần modem account truy cập internet, máy client (các máy trực thuộc) muốn truy cập internet qua máy cần nối mạng LAN tới máy Proxy truy cập địa yêu cầu Những yêu cầu người sử dụng qua trung gian proxy server thay cho server thật mà người sử dụng cần giao tiếp, điểm trung gian công ty kiểm soát giao tiếp từ công ty internet từ internet vào máy công ty Sử dụng Proxy, công ty cấm nhân viên truy cập địa web không cho phép, cải thiện tốc độ truy cập nhờ lưu trữ cục trang web nhớ proxy server giấu định danh địa mạng nội gây khó khăn cho việc thâm nhập từ bên vào máy công ty Đối với nhà cung cấp dịch vụ đường truyền internet: Do internet có nhiều lượng thông tin mà theo quan điểm quốc gia, chủng tộc hay địa phương mà nhà cung cấp dịch vụ internet khu vực phối hợp sử dụng proxy với kỹ thuật tường lửa để tạo lọc gọi firewall proxy nhằm ngăn chặn thông tin độc hại trái phong mỹ tục quốc gia, chủng tộc hay địa phương Địa website mà khách hàng yêu cầu truy cập lọc lọc này, địa không bị cấm yêu cầu khách hàng tiếp tục gửi đi, tới DNS server nhà cung cấp dịch vụ Firewall proxy lọc tất thông tin từ internet gửi vào máy khách hàng ngược lại 1/2 Proxy server Ý nghĩa proxy Proxy giá trị làm nhiệm vụ lọc thông tin, tạo an toàn cho khách hàng nó, firewal Proxy ngăn chặn hiệu xâm nhập ... Add a printer Vì ngồi máy Server mà máy in nối trực tiếp với máy Server nên ta chọn mục Local printer attached to this computers 2/13 Printer Server Tại mục Select a Printer Port ta chọn cổng... in ưu tiên in tài liệu trước máy in có độ ưu tiên thấp 6/13 Printer Server Trong ví dụ gán quyền cho Group Administrators & user gccom1 có quyền in máy in Epson 1000 7/13 Printer Server Bây logoff... Add thêm máy in Logic Epson 1000 9/13 Printer Server Tại ô Printer name đặt lại tên khác cho dễ nhận diệncác thao tác lại tương tự 10/13 Printer Server Lúc Printer and Faxes xuất máy in Epson ActionLaser