Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Using ParentalControlsContentFilter restrictWeb filterBlacklist
can't install.

Do you see a problem with my file:
<?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>Restrictions</string>
<key>PayloadIdentifier</key>
<string>com.apple.applicationaccess.3C25CE92-28B7-403C-B59C-DF03CC55631C</string>
<key>PayloadType</key>
<string>com.apple.applicationaccess</string>
<key>PayloadUUID</key>
<string>3C25CE92-28B7-403C-B59C-DF03CC55631C</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>allowSharedDeviceTemporarySession</key>
<false/>
</dict>
<dict>
<key>PayloadDisplayName</key>
<string>App Store settings</string>
<key>PayloadIdentifier</key>
<string>com.apple.appstore.F301AA94-6DD1-46CF-90D8-AA8D69E68E0A</string>
<key>PayloadType</key>
<string>com.apple.appstore</string>
<key>PayloadUUID</key>
<string>F301AA94-6DD1-46CF-90D8-AA8D69E68E0A</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>restrict-store-mdm-install-softwareupdate-only</key>
<true/>
<key>restrict-store-require-admin-to-install</key>
<true/>
<key>restrict-store-softwareupdate-only</key>
<true/>
</dict>
<dict>
<key>FilterType</key>
<string>BuiltIn</string>
<key>PayloadDisplayName</key>
<string>Web Content Filter</string>
<key>PayloadIdentifier</key>
<string>com.apple.webcontent-filter.22CE1D90-980A-4D92-A3DB-01163F834923</string>
<key>PayloadType</key>
<string>com.apple.webcontent-filter</string>
<key>PayloadUUID</key>
<string>22CE1D90-980A-4D92-A3DB-01163F834923</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
<dict>
<key>PayloadDisplayName</key>
<string>Parental Controls: Web Content Filter</string>
<key>PayloadIdentifier</key>
<string>com.apple.familycontrols.contentfilter.A143E430-9DBB-46F4-824C-B9BF3A6A6B0E</string>
<key>PayloadType</key>
<string>com.apple.familycontrols.contentfilter</string>
<key>PayloadUUID</key>
<string>A143E430-9DBB-46F4-824C-B9BF3A6A6B0E</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>filterBlacklist</key>
<array>
<string>2-01-37d2-0018.cdx.cedexis.net</string>
<string>akapinimg.net</string>
<string>pin.it</string>
<string>pinimg.com</string>
<string>pinterest.at</string>
<string>pinterest.ca</string>
<string>pinterest.ch</string>
<string>pinterest.co.kr</string>
<string>pinterest.com</string>
<string>pinterest.co.uk</string>
<string>pinterest.com.au</string>
<string>pinterest.de</string>
<string>pinterest.dk</string>
<string>pinterest.fr</string>
<string>pinterest.info</string>
<string>pinterest.jp</string>
<string>pinterest.ph</string>
<string>pinterest.pt</string>
<string>pinterest.se</string>
<string>pinterestmail.com</string>
</array>
<key>restrictWeb</key>
<true/>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>App Store</string>
<key>PayloadIdentifier</key>
<string>User-MacBook-Pro.3A755BD3-2A0D-4510-8320-54B9132B7B63</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>555B4AD6-03B1-4065-8CE2-91CCF94C1599</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
 
I just put one url and was able to install profile without error. However the website still loads. Does it require restart machine?
 
Profile txt & zip attached
Code:
<?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>App Store settings</string>
            <key>PayloadIdentifier</key>
            <string>com.apple.appstore.F301AA94-6DD1-46CF-90D8-AA8D69E68E0A</string>
            <key>PayloadType</key>
            <string>com.apple.appstore</string>
            <key>PayloadUUID</key>
            <string>396D69D0-5E45-4915-87EB-9FA69465C5BD</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>restrict-store-require-admin-to-install</key>
            <true/>
            <key>restrict-store-softwareupdate-only</key>
            <true/>
        </dict>
        <dict>
            <key>PayloadDisplayName</key>
            <string>Parental Controls: Web Content Filter</string>
            <key>PayloadIdentifier</key>
            <string>com.apple.familycontrols.contentfilter.A143E430-9DBB-46F4-824C-B9BF3A6A6B0E</string>
            <key>PayloadType</key>
            <string>com.apple.familycontrols.contentfilter</string>
            <key>PayloadUUID</key>
            <string>23B24617-CFCD-4635-9FA7-CA293117B70A</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>filterBlacklist</key>
            <array>
                <string>https://2-01-37d2-0018.cdx.cedexis.net</string>
                <string>https://akapinimg.net</string>
                <string>https://pin.it</string>
                <string>https://pinimg.com</string>
                <string>https://pinterest.at</string>
                <string>https://pinterest.ca</string>
                <string>https://pinterest.ch</string>
                <string>https://pinterest.co.kr</string>
                <string>https://pinterest.com</string>
                <string>https://pinterest.co.uk</string>
                <string>https://pinterest.com.au</string>
                <string>https://pinterest.de</string>
                <string>https://pinterest.dk</string>
                <string>https://pinterest.fr</string>
                <string>https://pinterest.info</string>
                <string>https://pinterest.jp</string>
                <string>https://pinterest.ph</string>
                <string>https://pinterest.pt</string>
                <string>https://pinterest.se</string>
                <string>https://pinterestmail.com</string>
            </array>
            <key>restrictWeb</key>
            <true/>
            <key>useContentFilter</key>
            <true/>
        </dict>
    </array>
    <key>PayloadDisplayName</key>
    <string>Block AppStore &amp; Web</string>
    <key>PayloadIdentifier</key>
    <string>User-MacBook-Pro.3A755BD3-2A0D-4510-8320-54B9132B7B63</string>
    <key>PayloadScope</key>
    <string>System</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>BB0F22AA-0428-4EED-8828-932DAA17FA43</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
    <key>TargetDeviceType</key>
    <integer>5</integer>
</dict>
</plist>

Video of installation and proof of function (“Open with” selected just to emphasize the default action on double click)
 

Attachments

  • BlockAppStore_Web.mobileconfig.zip
    1.4 KB · Views: 95
  • Like
Reactions: MikeGreo
That worked! You're a genius! Thanks! Much appreciated.

One last problem. It's not blocking https://tiktok.com It blocks tiktok.com, but once you put https://tiktok.com or it loads the page. How can I block this page?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.