<br><div class="gmail_quote">On Mon, Oct 5, 2009 at 4:44 AM, Jay McCarthy <span dir="ltr">&lt;<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This, in general, is the method I advise. However, the comment that<br>
&quot;This doesn&#39;t allow people to, say, email URLs to one another.&quot; is not<br>
exactly true even when you aren&#39;t using the URL dispatcher. The<br>
continuation will always be invoked, but if there is extra<br>
authentication then it will perform that before doing work. When the<br>
authentication isn&#39;t there, it doesn&#39;t need to just error; it can<br>
request authentication and then resume the previous user&#39;s computation<br>
if it is appropriate. (For example, if the previous continuation was<br>
changing the password, then new authentication doesn&#39;t allow it, but<br>
if it is looking a paper review, then the new authentication would<br>
consult the ACL to decide if the paper review should be displayed and<br>
maybe it can.)<br>
<br></blockquote><div>Jay - <br><br>this is interesting - do you need to write your own dispatcher to make this work?  Also - does it work with form-based auth? <br><br>Thanks,<br>yc<br><br> </div></div>