[web2py] Digitally signed URLs in py4web?

2020-02-13 Thread Luca
In web2py, I used to sign all the AJAX callback URLs, using the URL(..., user_signature=True) method. In py4web, I don't see any emphasis or use on signed URLs. Why are signed URLs not commonly used in py4web? A digital signature is useful to prevent javascript running from other sites (e.g

[web2py] digitally signed URLs

2015-03-06 Thread Annet
I read chapter 29/04 on digitally signed urls. and have a question. I have sort of a router function which routes requests: def router(): node_id = request.args(0, cast=int) row = db().select() if row: if row.view_id == 'bsc' redirect(URL('site', 'index', args=[nod

[web2py] Digitally signed URLs

2012-04-14 Thread pyhead
I copied and pasted the examples for web2py Digitally signed URLs andthey are giving errors on the latest stable build. http://www.web2py.com/books/default/chapter/29/4#Digitally-signed-urls TypeError: verifyURL() takes at least 1 argument (1 given) The error is confusing as it seems to