com.macromedia.Flash Player.plugin.sb 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ; Copyright (C) 2013 Apple Inc. All rights reserved.
  2. ;
  3. ; Redistribution and use in source and binary forms, with or without
  4. ; modification, are permitted provided that the following conditions
  5. ; are met:
  6. ; 1. Redistributions of source code must retain the above copyright
  7. ; notice, this list of conditions and the following disclaimer.
  8. ; 2. Redistributions in binary form must reproduce the above copyright
  9. ; notice, this list of conditions and the following disclaimer in the
  10. ; documentation and/or other materials provided with the distribution.
  11. ;
  12. ; THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
  13. ; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  14. ; THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  15. ; PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
  16. ; BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  17. ; CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  18. ; SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  19. ; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  20. ; CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  21. ; ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  22. ; THE POSSIBILITY OF SUCH DAMAGE.
  23. (webkit-powerbox)
  24. (webkit-printing)
  25. (webkit-camera)
  26. (webkit-microphone)
  27. (allow ipc-posix-sem
  28. (ipc-posix-name "MacromediaSemaphoreDig")
  29. (ipc-posix-name "59918130"))
  30. (allow file-read*
  31. (home-literal "/mm.cfg")
  32. (home-literal "/mms.cfg"))
  33. (deny file-read-xattr (with no-log)
  34. (home-library-literal "/Caches")
  35. (home-library-preferences-literal "/"))
  36. (allow file-read* file-write-create file-write-mode file-write-owner
  37. (home-library-literal "/Caches/Adobe")
  38. (home-library-preferences-literal "/Macromedia"))
  39. (allow file-read* file-write*
  40. (literal "/Library/Application Support/Macromedia/mms.cfg")
  41. (home-library-literal "/Application Support/Macromedia/mms.cfg")
  42. (home-library-subpath "/Caches/Adobe/Flash Player")
  43. (home-library-preferences-subpath "/Macromedia/Flash Player"))
  44. (allow file-read*
  45. (literal "/Library/PreferencePanes/Flash Player.prefPane")
  46. (home-library-literal "/PreferencePanes/Flash Player.prefPane")
  47. (home-library-regex "/Application Support/Macromedia/ss\.(cfg|cfn|sgn)$"))
  48. (allow file-read* file-write*
  49. (mount-relative-regex #"^/\.TemporaryItems/"))
  50. (deny file-read* (with no-log)
  51. (literal "/Library/Application Support/Macromedia/FlashAuthor.cfg")
  52. (subpath "/Library/Application Support/Macromedia/FlashPlayerTrust"))
  53. (allow network-bind (local ip))