﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / General usage  / Adding parameters to image saving POST / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Wed, 03 Dec 2008 02:40:56 GMT</lastBuildDate><ttl>20</ttl><item><title>Adding parameters to image saving POST</title><link>http://www.fusioncharts.com/forum/Topic6979-28-1.aspx</link><description>More and more websites are adding cross site request forgery protections. These are embedded tokens in the HTML code that are passed via POST variable to the receiving script and help protect against cross-site forgeries. Many tools provide blanket CSRF protection (e.g., Django can enable CSRF for an entire web application with 1 configuration parameter).&lt;br&gt;&lt;br&gt;Unfortunately, you can't use the "save image" function from Fusion Charts when the receiving script *must* receive this hidden token. For example, my specs documents indicate this is a requirement (often found in professional development, government development, etc).&lt;br&gt;&lt;br&gt;Is there a way that you could add a configuration parameter that would allow arbitrary values be added to the "save image" POST?&lt;br&gt;&lt;br&gt;As is, there is "width" "height" "bgcolor" and "data".&lt;br&gt;&lt;br&gt;I would like to be able to add any variable I want via the embeded objects (in particular, though, I need "csrfmiddlewaretoken").&lt;br&gt;&lt;br&gt;Tips?</description><pubDate>Fri, 20 Jun 2008 22:28:13 GMT</pubDate><dc:creator>pytechd</dc:creator></item></channel></rss>