title: ProvisionsAllDevices vs ProvisionedDevices in embedded.mobileprovision
body: <p>I recently received an ipad app as a .ipa file.</p>
  
  <p>To install the app, i renamed it to .zip and fished out the app file and using the 
  Iphone Configuration Utility was able to smoothly install it onto my iPad (it is iOS 4.2.1 and it is not Jail Broken.)</p>
  
  <p>Normally when we deliver our apps, we need to prepare a provision profile with a list of enabled devices, and it would install only on those devices.</p>
  
  <p>I opened the file embedded.mobileprovision and was surprised to see this setting:</p>
  
  <pre><code>&lt;key&gt;ProvisionsAllDevices&lt;/key&gt;
  &lt;true/&gt;
  </code></pre>
  
  <p>Normally in our profiles, there is a predefined set of UDID's that can install it:  </p>
  
  <pre><code>&lt;key&gt;ProvisionedDevices&lt;/key&gt;
      &lt;array&gt;
          &lt;string&gt;caf2b03e4a4e1a80d9492c8bdcea0ea8df6a14a7&lt;/string&gt;
          &lt;string&gt;1a5b7515ed0751d6de312f9520267f502b20eab0&lt;/string&gt;
          &lt;string&gt;f4c368bb6c27119feb877e0d95d3891166ab48c8&lt;/string&gt;
          &lt;string&gt;72234de7149e980a9e659e5417f764c47c5e7327&lt;/string&gt;
      &lt;/array&gt;
  </code></pre>
  
  <p>I tried to create an Ad Hoc profile on the iOS portal, but it immediately want to know the list of devices enabled for the profile.</p>
  
  <p>So i'm really curious how this was done!</p>
  
  <p>My questions are:</p>
  
  <ol>
  <li>Any ideas what this "ProvisionsAllDevices" setting is? </li>
  <li>Could it be something that is only possible with an Enterprise Developer Account?</li>
  </ol>