hI,
I have two virtual servers defined for SharePoint 2013. One is for the LAN network and the other virtual server is in the DMZ network.
Likewise I have the same for Office Web Apps - a Virtual Server in the DMZ and a Virtual Server in the LAN.
All the virtual machines involved are in the LAN and the SharePoint servers have a HOSTS file entry pointing to the DMZ Office Web Apps VIP.
However, when an external user browses to SharePoint and opens a document in a client-application i.e. Office 2013 (which opens it directly from SharePoint and does not download it to the machine), the F5 extranet login page is displayed, which is provided by an access profile on SharePoint via APM.
Is there a way to bypass APM for documents opened in the client via Office Web Apps? I.E. some sort of way to specify the Office Web Apps VIP to bypass APM.
Hello,
You can disable APM when a specific User-Agent reach the VIP. But I would recommend not doing this for security purposes.
Here, a sample irule to achieve your needs :
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::header "User-Agent"]] {
"*word*" -
"*excel*" -
"*office upload*" -
"*office existence discovery*" -
"*office protocol discovery*" -
"*soap toolkit*" -
"*ms-office*" -
"*microsoft office onenote*" -
"*webdav-miniredir*" -
"*frontpage*" -
"*msfrontpage*" -
"*shareplus*" {
ACCESS::disable
}
}
}
Hi,
use this code to change authentication behavior depending on client capability and user agent:
https://devcentral.f5.com/codeshare/apm-sharepoint-authentication
This irule allow you to start a browser in office to display authentication page (MS-OFBA support: office form-based authentication) or prompt 401 basic auth for unmanaged user-agents.