Skip to content

Responsive (Mobile Friendly) Authentication Forms for Microsoft Forefront TMG

Notifications You must be signed in to change notification settings

ablanken/TMGResponsiveAuthForms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Forefront TMG Responsive Authorization Forms

Responsive (Mobile Friendly) Authentication Forms for Microsoft Forefront TMG

#Purpose

This project contains a set of templates for Microsoft Forefront Threat Management Gateway to make logging into published websites easier on mobile devices.

This default form Default Forefront TMG Forms Authentication on iPhone becomes Responsive Forefront TMG Forms Authentication on iPhone

The form also scales nicely for tablets and normal desktops / large screens.

Responsive Forefront TMG Forms Authentication on Desktop

#Installation

  1. For Outlook Web Access, copy the existing Exchange Templates folder at: C:\Program Files\Microsoft Forefront Threat Management Gateway\Templates\CookieAuthTemplates\Exchange

    For all other sites, copy the existing ISA Templates folder at: C:\Program Files\Microsoft Forefront Threat Management Gateway\Templates\CookieAuthTemplates\ISA

  2. Call the duplicated folder 'Custom' (or whatever takes your fancy). You should now have a folder here: C:\Program Files\Microsoft Forefront Threat Management Gateway\Templates\CookieAuthTemplates\Custom

  3. Copy the usr_pwd.htm, styles_responsive.css, and Logo.png files from either the ISA or Exchange folders in this project into the Custom Folder (replace the existing files). Use the Exchange versions for OWA, and the ISA versions for everything else. Feel free to replace Logo.png with your own custom logo.

  4. In your TMG Management console, edit your desired Web Publishing rule and go to the Listener page. Click Properties.

  5. On the Authentication page, ensure HTML Forms Authentication is selected.

  6. On the Forms Tab enter 'Custom' (you don't need to enter the entire path, just the word 'Custom' without the quotes)

  7. Apply the changes.

  8. Restart the TMG Firewall Service (yeah, I know... Unfortunately TMG Caches these pages and restarting the service is the only way to clear it as far as I know).

Browse to the site and Forefront TMG will present the new authentication page. Try it on a smart phone or tablet and marvel at its beauty.

#Issues

For now, only the usr_pwd.htm file has been customized. This file is served only when using Windows (Active Directory) authentication (set on the Authentication page in step 5 above). I intend to customize the other forms (Radius and SecureID) soon. Feel free to contribute!

#Credits

  1. Responsive goodness is provided mainly by the scaffolding and forms components in bootstrap
  2. The inspiration for this project came from a web development request from Etienne Liebetrau of Fix My IT System

About

Responsive (Mobile Friendly) Authentication Forms for Microsoft Forefront TMG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 89.8%
  • JavaScript 10.2%