Remove Security Options on OWA Login Page

If you work with Microsoft Exchange you may want to disable or remove the “Public vs Private” security options on the Outlook Web App (OWA).  I wasn’t able to find any documentation from Microsoft on how to remove these options so I thought I’d share the steps I took to remove the public/private security options.

 

The default Microsoft 2010 OWA login page is shown with a red box around the security options that will be removed.

 

How to Remove the Security Options on the OWA Login Page

 

Update: Due to strong interest in this OWA modification I’ve decided to make my exact logon.aspx file available for download. This file is an exact replica of what I describe below, so feel free to use this file instead of modifying your own logon.aspx file.  If you use this file make a backup of your original logon.aspx file in case you need to revert back to it.  I am not responsible for any issues that may result from using this modified OWA logon file.  Use at your own risk and discretion.  You can download the modified logon.aspx file here. Enjoy!

 

1. On the Exchange server go to: C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\auth


2. Open the logon.aspx file.  I recommend making a back up of this file before editing it.

 

3.  Look through the code found in the logon.aspx page until you see the table shown below.  If you have trouble finding this table, search for the word “radio” which will help you locate the radio buttons inside the table.

OWA Table Code (Expand to View)

<table <%=tblStyle%>> <col> <col> <tr id=trSec> <td colspan=”2″> <%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.Security) %>  <%=(IsRtl ? “&#x200F;” : “&#x200E;”) + LocalizedStrings.GetHtmlEncoded(Strings.IDs.OpenParentheses) %> <a href=”#” id=”lnkShwSec” onclick=”clkExp(‘lnkShwSec’)”> <%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.ShowExplanation) %>  </a> <a href=”#” id=”lnkHdSec” onclick=”clkExp(‘lnkHdSec’)” style=”display:none”> <%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.HideExplanation) %>  </a> <%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.CloseParentheses) + (IsRtl ? “&#x200F;” : “&#x200E;”) %> </td> </tr> <tr> <td><input id=”rdoPblc” type=”radio” name=”trusted” value=”0″ onclick=”clkSec()” checked></td> <td><label for=”rdoPblc”><%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.ThisIsAPublicOrSharedComputer) %></label></td> </tr> <tr id=”trPubExp” style=”display:none”> <td></td> <td><%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.PublicExplanation) %></td> </tr> <tr> <td><input id=”rdoPrvt” type=”radio” name=”trusted” value=”4″ onclick=”clkSec()”></td> <td><label for=”rdoPrvt”><%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.ThisIsAPrivateComputer) %></label></td> </tr> <tr id=”trPrvtExp” style=”display:none”> <td></td> <td><%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.PrivateExplanation) %></td> </tr> <tr id=”trPrvtWrn” style=”display:none”> <td></td> <td><%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.PrivateWarning) %></td> </tr> </table>

4. Use comment tags to hide the entire table (example: <!– html table –>).  The comment tags disable the Security radio buttons and text from displaying.

 

5.  OWA still needs to know whether the user will automatically sign-in as “public or shared computer” or as a “private computer”.  Add one the following input values right after your table comment tags end.

 

<input id=”rdoPblc” type=”hidden” name=”trusted” value=”0″>  Use this input value to set the OWA login as “This is a public or shared computer”.

 

<input id=”rdoPrvt” type=”hidden” name=”trusted” value=”4″>  Use this input value to set the OWA login as “This is a “private computer”.

 

I’ve listed my revised code and highlighted the changes.

OWA Revised Table Code (Expand to View)

<!– Commented out Table to remove security choices –>  <!<table <%=tblStyle%>> <col> <col><tr id=trSec> <td colspan=”2″> <%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.Security) %>  <%=(IsRtl ? “&#x200F;” : “&#x200E;”) + LocalizedStrings.GetHtmlEncoded(Strings.IDs.OpenParentheses) %> <a href=”#” id=”lnkShwSec” onclick=”clkExp(‘lnkShwSec’)”> <%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.ShowExplanation) %>  </a> <a href=”#” id=”lnkHdSec” onclick=”clkExp(‘lnkHdSec’)” style=”display:none”> <%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.HideExplanation) %>  </a> <%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.CloseParentheses) + (IsRtl ? “&#x200F;” : “&#x200E;”) %> </td> </tr> <tr> <td><input id=”rdoPblc” type=”radio” name=”trusted” value=”0″ onclick=”clkSec()” checked></td> <td><label for=”rdoPblc”><%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.ThisIsAPublicOrSharedComputer) %></label></td> </tr> <tr id=”trPubExp” style=”display:none”> <td></td> <td><%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.PublicExplanation) %></td> </tr> <tr> <td><input id=”rdoPrvt” type=”radio” name=”trusted” value=”4″ onclick=”clkSec()”></td> <td><label for=”rdoPrvt”><%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.ThisIsAPrivateComputer) %></label></td> </tr> <tr id=”trPrvtExp” style=”display:none”> <td></td> <td><%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.PrivateExplanation) %></td> </tr> <tr id=”trPrvtWrn” style=”display:none”> <td></td> <td><%=LocalizedStrings.GetHtmlEncoded(Strings.IDs.PrivateWarning) %></td> </tr> </table>–>

<!– this value must be carried forward if security choices are disabled –> <input id=”rdoPrvt” type=”hidden” name=”trusted” value=”4″>

 

6. Save your changes to the logon.aspx file.  Your new OWA login page is now cleaner and simpler without the security options being available.

Remove Security Options on OWA Login Page

If you have any questions or comments let me know!

 

About 

I help small businesses use technology to grow and solve problems.   I live in Little Rock, Arkansas and spend my free time with my wife, 2 kids and dog.