Treating canvas designs as untrusted input: sanitising Fabric.js JSON for print-on-demand
How DEV3 AI Product Designer rebuilds every shopper design from an allow-list of Fabric.js types and properties, keeps images on the site, checks uploads by their bytes and prices designs on the server before anything is printed.
11 min
