.lsrules
file. Second, a web server that is accessible via HTTPS..lsrules
file using a text editor or a script. The latter option allows you to dynamically create the JSON depending on parameters passed in the URL used for subscribing. The chapter The .lsrules
file format specifies the JSON structure that Little Snitch expects for subscribing to rule groups.x-littlesnitch:
URL on a website that users of Little Snitch can click to automatically open Little Snitch Configuration with the URL filled in already. Because you’ll pass a URL as a parameter in an x-littlesnitch:subscribe-rules?url=
URL, you will need to percent encode your URL.URL to .lsrules file | x-littlesnitch: URL |
---|---|
https://example.com/SomeRules.lsrules | x-littlesnitch:subscribe-rules?url=https%3A%2F%2Fexample.com%2FSomeRules.lsrules |
https://example.com/SomeRules.lsrules?foo=bar | x-littlesnitch:subscribe-rules?url=https%3A%2F%2Fexample.com%2FSomeRules.lsrules%3Ffoo%3Dbar |