Re: [web2py] Webservice for web widgets: security

2012-08-03 Thread Bruno Rocha
I think you can generate a KEY in script.js (you need to generate this file dynamically) So you will have a key to check back when the widget gets rendered. On Fri, Aug 3, 2012 at 12:31 PM, Tito Garrido wrote: > Hi Folks, > > I have created a jsonp function that will be used on a script so some

[web2py] Webservice for web widgets: security

2012-08-03 Thread Tito Garrido
Hi Folks, I have created a jsonp function that will be used on a script so some other people could use widgets with just 2 lines like: http://example.com/widget/script.js"; type="text/javascript"> This script will call the jsonp function using: $.getJSON(widget_url, function(data) { $('#e