Skip to content

Commit 5c7a41a

Browse files
author
Cristy
committed
clarify policy order
1 parent 04a84f0 commit 5c7a41a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/script/security-policy.php/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h1 class="text-center">Security Policy</h1>
66
<p class="text-center"><a href="#policy">Security Policy </a><a href="#example">Example Security Policy</a><a href="#synchronize">Pixel Cache Synchronize Policy</a><a href="#zero-configuration">Zero Configuration Security Policy</a><a href="#other">Other Security Considerations</a></p>
77

8-
<p class="text-info">It is strongly recommended to establish a security policy suitable for your local environment before utilizing ImageMagick.</p>
8+
<p class="text-info">It is strongly recommended to establish a security policy suitable for your local environment before utilizing ImageMagick. ImageMagick’s security model is “everything allowed unless denied,” and the last matching policy wins. Be careful when adding new rules: any later policy can override earlier denies or allows. Place broad deny rules first, followed by specific exceptions, and review ordering to avoid accidental authorization.</p>
99

1010
<p class="lead">ImageMagick is intentionally open by default, and that design choice reflects its primary use in controlled environments such as Docker containers or other sandboxed deployments.</p>
1111

@@ -15,7 +15,7 @@ <h1 class="text-center">Security Policy</h1>
1515

1616
<p>Keep in mind that what is considered reasonable for one environment may not be suitable for another. For example, you may have ImageMagick sandboxed in a secure environment, while someone else may use it to process images on a publicly accessible website. Or, ImageMagick may be running on a host with a lot of memory, while another instance is running on a device with limited resources. In the case of the host with large memory, it may make sense to allow large image processing, but not on the device with limited resources. If you are using ImageMagick on a public website, you may want to increase security by disabling certain coders such as MVG or HTTPS.</p>
1717

18-
<p>To help you get started, as of version 6.9.12-94, ImageMagick provides security polices that you can select when installing ImageMagick. ImageMagick’s security model is “everything allowed unless denied,” and the last matching policy wins. Be careful when adding new rules: any later policy can override earlier denies or allows. Place broad deny rules first, followed by specific exceptions, and review ordering to avoid accidental authorization. Choose from:
18+
<p>To help you get started, as of version 6.9.12-94, ImageMagick provides security polices that you can select when installing ImageMagick. Choose from:</p>
1919

2020
<ul>
2121
<dt><a href="/source/policy-open.xml">open</a></dt>

0 commit comments

Comments
 (0)