Custom queries won't execute for web player

When I save my spotfire file as a library item, it publishes to the webpage but gives me an error saying that the custom query that I entered isn't allowed to execute because it isn't trusted. The file publishes correctly whenever I'm not using a custom query. I'm guessing that it's an issue with how I'm connecting to my data source (a SQL server database). How can I use queries in Spotfire and successfully publish to the web player?


(1) Answer