When using Prince, I would like to be able to restrict which domains Prince can make requests to.
For example:
prince --restrict-hosts=subdomain.example.org,localhost:80,localhost:443
This would help when you allow users to modify the HTML on your server, but want to make sure that external hosts are not allowed, as this could be used in some nasty ways, even if it's not perfect it's still better than nothing.
For example:
prince --restrict-hosts=subdomain.example.org,localhost:80,localhost:443
This would help when you allow users to modify the HTML on your server, but want to make sure that external hosts are not allowed, as this could be used in some nasty ways, even if it's not perfect it's still better than nothing.
