最近、iPhoneでm.freemyapps.comにアクセスしました。このWebサイトでは、.mobileconfigファイルをインストールするように求められます。私はいくつかの研究開発を行っていますが、あまり興味をそそられませんでした。mobileconfigの使用法を教えてもらえますか?なぜこのサイトのようにm.freemyapps.comで使用されているのですか?
1 に答える
このファイルには、ユーザーのiPhoneに必要なすべての構成が含まれます。mobileconfigファイル拡張子は、AppleiPhoneまたはiPodTouchに関連付けられています。mobileconfigファイルは、ユーザーが特定のサービスへのアクセスを必要とするとき、または提供する必要があるときはいつでも、さまざまな構成をカスタマイズし、それらを切り替えるために使用されます。
iPadやiPhoneなどのモバイルAppleデバイスの構成は、事前に作成された構成ファイルを使用して行うことができます。これらのファイルは、拡張子が.mobileconfigのXMLファイルを吐き出すiPhone構成ユーティリティ(iPCU)によって生成されます。このようなファイルは、ユーザーがダウンロードして特定のいわゆるプロファイルを適用できるようにWebサイトに配置できます。このプロファイルは、デバイスの[設定]/[一般]パネルに一覧表示されます。
これらのMobileConfigurationファイルには、デバイスのセキュリティポリシーと制限、VPN構成情報、Wi-Fi設定、電子メールとカレンダーアカウント、およびiPhone、iPod touch、iPadが特定のエンタープライズシステムで動作することを許可する認証資格情報を含めることができます。mobileconfigファイルも暗号化できます。
構成ユーティリティはmobileconfigファイルを保存します。このファイルは、ユーザーのiPhoneまたはiPodTouchに接続されている電子メールアカウントに送信される場合があります。その後、ユーザーはメールで添付ファイルを開くことができ、インストールするように求められます。
MobileConfigファイルは次のようになります。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDisplayName</key>
<string>LDAP Settings</string>
<key>PayloadType</key>
<string>com.apple.ldap.account</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadUUID</key>
<string>6df7a612-ce0a-4b4b-bce2-7b844e3c9df0</string>
<key>PayloadIdentifier</key>
<string>com.example.iPhone.settings.ldap</string>
<key>LDAPAccountDescription</key>
<string>Company Contacts</string>
<key>LDAPAccountHostName</key>
<string>ldap.example.com</string>
<key>LDAPAccountUseSSL</key>
<false />
<key>LDAPAccountUserName</key>
<string>uid=username,dc=example,dc=com</string>
<key>LDAPSearchSettings</key>
<array>
<dict>
<key>LDAPSearchSettingDescription</key>
<string>Company Contacts</string>
<key>LDAPSearchSettingSearchBase</key>
<string></string>
<key>LDAPSearchSettingScope</key>
<string>LDAPSearchSettingScopeSubtree</string>
</dict>
<dict>
<key>LDAPSearchSettingDescription</key>
<string>Sales Departments</string>
<key>LDAPSearchSettingSearchBase</key>
<string>ou=Sales,dc=example,dc=com</string>
<key>LDAPSearchSettingScope</key>
<string>LDAPSearchSettingScopeSubtree</string>
</dict>
</array>
</dict>
<dict>
<key>PayloadDisplayName</key>
<string>Email Settings</string>
<key>PayloadType</key>
<string>com.apple.mail.managed</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadUUID</key>
<string>362e5c11-a332-4dfb-b18b-f6f0aac032fd</string>
<key>PayloadIdentifier</key>
<string>com.example.iPhone.settings.email</string>
<key>EmailAccountDescription</key>
<string>Company E-mail</string>
<key>EmailAccountName</key>
<string>Full Name</string>
<key>EmailAccountType</key>
<string>EmailTypeIMAP</string>
<key>EmailAddress</key>
<string>username@example.com</string>
<key>IncomingMailServerAuthentication</key>
<string>EmailAuthPassword</string>
<key>IncomingMailServerHostName</key>
<string>imap.example.com</string>
<key>IncomingMailServerUseSSL</key>
<true />
<key>IncomingMailServerUsername</key>
<string>username@es2eng.com</string>
<key>OutgoingPasswordSameAsIncomingPassword</key>
<true />
<key>OutgoingMailServerAuthentication</key>
<string>EmailAuthPassword</string>
<key>OutgoingMailServerHostName</key>
<string>smtp.example.com</string>
<key>OutgoingMailServerUseSSL</key>
<true />
<key>OutgoingMailServerUsername</key>
<string>username@example.com</string>
</dict>
</array>
<key>PayloadOrganization</key>
<string>Your Organization's Name</string>
<key>PayloadDisplayName</key>
<string>Organization iPhone Settings</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>PayloadUUID</key>
<string>954e6e8b-5489-484c-9b1d-0c9b7bf18e32</string>
<key>PayloadIdentifier</key>
<string>com.example.iPhone.settings</string>
<key>PayloadDescription</key>
<string>Sets up Organization's LDAP directories and email on the iPhone</string>
<key>PayloadType</key>
<string>Configuration</string>
</dict>
</plist>
デバイスのインターフェイスでは許可されないため、これが特定の機能を構成する唯一の方法である場合があります。良い例は、TTLSを使用したEduroamワイヤレスネットワークです。