Book Image

Microsoft Forefront UAG 2010 Administrator's Handbook

Book Image

Microsoft Forefront UAG 2010 Administrator's Handbook

Overview of this book

Microsoft Forefront Unified Access Gateway (UAG) is the latest in a line of Application Publishing (Reverse Proxy) and Remote Access (VPN) Server products. The broad set of features and technologies integrated into UAG makes for a steep learning curve. Understanding all the features and abilities of UAG is a complex task that can be daunting even to experienced networking and security engineers. This book is the first to be dedicated solely to Microsoft Forefront UAG. It guides you step-by-step throughout all the stages of deployment, from design to troubleshooting. Written by the absolute experts who have taken part of the product’s development, official training and support, this book covers all the primary features of UAG in a friendly style and a manner that is easy to follow. It takes you from the initial planning and design stage, through deployment and configuration, up to maintenance and troubleshooting. The book starts by introducing UAG's features and and abilities, and how your organization can benefit from them. It then goes on to guide you through planning and designing the integration of the product into your own unique environment. Further, the book guides you through the process of publishing the various applications, servers and resources - from simple web applications to complex client/server based applications. It also details the various VPN technologies that UAG provides and how to take full advantage of them. The later chapters of the book educate you with common routine “upkeep” tasks like monitoring, backup and troubleshooting of common issues. Finally, the book includes an introduction to ASP, which some of the product's features are based on, and can help the advanced administrator with enhancing and customizing the product.
Table of Contents (21 chapters)
Microsoft Forefront UAG 2010 Administrator's Handbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Putting the pieces together


Often, a program is comprised of several (sometimes hundreds or thousands) files that work together. This entails one file "calling" another, or redirecting to another. When a user enters the portal, for example, the file InitParams.aspx is read and executed, and it then redirects to the file InstallAndDetect.asp, which calls a bunch of JavaScript files like LoginTimeout.js, install.js, detection.js and more. Then, it redirects to Login.asp, which is the page in which the user has to feed in his authentication credentials. In the following examples, we see a script (left) that has four include commands, where each of the .inc files has more code that can be used by the primary script. By using .inc files, we can reuse the same code or content in multiple places. On the right piece of code, we see a script that ends with the command response.redirect, which tells the browser to request another file (/InternalSite/Validate.asp) and process it.

Depending on the way the code is written, this can be done automatically by the browser, or it can stop and wait for the user to do something (like the Login page).

If you are wondering about the JavaScript files we mentioned previously, then this is also a very common practice with ASP. ASP code runs on the server, and the data that gets sent to the client is just static HTML. Often, we may want some code to run on the client side too, and that's where JavaScript complements ASP. For example, you already know that UAG installs ActiveX controls as part of the endpoint client installation. The process of ActiveX installation needs to be done on the client side, and for that, a JavaScript function is used—it's contained in the script file Install.js, which we mentioned previously, and looks like this: