I think that the fastest way is to use a predicate in Any with the
not_anonymous one that checks for a valid secret.
Take a look at 
http://turbogears.org/2.1/docs/main/Auth/Authorization.html#custom-single-predicate-checkers

On Tue, Oct 18, 2011 at 6:55 PM, aspineux <[email protected]> wrote:
> Hi
>
> I have some pages (protected by authentication) that I want to share
> with unregistered user
>
> For example
>
> http://hostname/service?service_id=123
>
> This page works when I'm authenticated, And I want to provide this one
>
> http://hostname/service?service_id=123&secret=A56F72E7ED6783E2
>
> to unregistered user.
>
> How to let the TG2.0 authentication layer  allows them to access this
> page without authentication.
>
> Any hint or sample  somewhere ?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups 
> "TurboGears" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/turbogears?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to