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

Getting started with ASP


A typical ASP page looks very similar to an HTML page. Sometimes you might have to strain your eyes to even find the code in it. Within a page you often find a block of ASP code tucked away between HTML. The ASP portion starts with <% and ends with %>, and you should be able to see that it looks more like commands:

The above script is a bit tough to understand at this point, of course, so don't get discouraged. As you can see, the first five lines are simple HTML, and the sixth line starts with the <h3> HTML tag, which sets the browser to display the text that follows it as a header. Then, the ASP script kicks in, and runs GetString with some parameters. This is what we refer to as a "function". You cannot see the function, which is located somewhere else, but what it does is open a language file with the various text messages UAG can show, and selects message no. 85, which reads, as you can guess, The site cannot be accessed. The advantage of using the GetString function is that the server can decide what language to return to the user, without touching the code or HTML pages. So the same GetString function, when the end-user decides to use the French language, will return: Impossible d'accéder au site, while for German it will return: Auf die Site kann nicht zugegriffen werden. As you can see, this function is used several more times in this script file and other parts of the UAG code, intermixed with the various HTML commands.