I have an enterprise distribution certificate that I use to deploy internal applications. Certain of my applications have very sensitive material and to protect the application from being installed by just about anyone in the company, I use a password-protected directory on a web server to host the .IPA file, while the .plist file is on an open web server. Here's the problem I have:
On iOS6, I click the link to install (starts with itms-services://), iOS prompts me to enter my credentials then proceeds to install the application.
On iOS7, the same link works just fine, but for some reason, it asks for my credentials TWICE. Once my credentials have been entered twice, the application installs just fine.
Anyone has any idea why this is happening? What's different in this process?
I checked an access log of web server. The itunesstored application asked TWICE. (HEAD and GET)
So, I changed a setting of web server to ignore basic auth when it requets HEAD.
BEFORE:
AFTER:
After that, The itunesstored application asked only ONCE. (only GET).