Forum Discussion
JP_135500
Jul 08, 2014Nimbostratus
How I was able to get this working is the switch statement below. It may not be as surgical as other ways, but it was the only way I found to get this working. This switch statement allows the following programs through:
- Office 2010/2011/2013
- SharePoint Designer 2010/2013
- WebDAV/Open in Explorer (IE 9/10/11)
- Office Upload Center 2013
- SkyDrive/OneDrive 2013
- InfoPath 2013
switch -glob [string tolower [HTTP::header "User-Agent"]] {
"*word*" -
"*excel*" -
"*office upload*" -
"*office protocol discovery*" -
"*soap toolkit*" -
"*webdav-miniredir*" -
"*frontpage*" -
"*msfrontpage*" -
"*shareplus*" {
HTTP::disable
}
default {
switch -glob [string tolower [HTTP::uri]] {
"*owssvr.dll" {
HTTP::disable
}
}
}
}