> I'm in the process of migrating to the new cookie based csrf policy, and it doesn't seem like there is an easy way to run different tokens on HTTP vs HTTPS short of writing a new ICSRFStoragePolicy utility and plugin. Has anyone worked on this before?
Specialized use-cases are the reason we added the ability to provide a custom storage policy. You'll probably want to write one. On Mon, Dec 4, 2017 at 12:25 PM, Jonathan Vanasco <[email protected]> wrote: > We strive for 100% HTTPS, but need to support some HTTP endpoints. Those > endpoints have CSRF needs. > > I'm in the process of migrating to the new cookie based csrf policy, and > it doesn't seem like there is an easy way to run different tokens on HTTP > vs HTTPS short of writing a new ICSRFStoragePolicy utility and plugin. > Has anyone worked on this before? > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/pylons-discuss/0e098559-5bdc-4e71-8f23-a8ab891f2957% > 40googlegroups.com > <https://groups.google.com/d/msgid/pylons-discuss/0e098559-5bdc-4e71-8f23-a8ab891f2957%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAKdhhwGFR0CVYtKdwcfSigewtnQc4pskLiF3z1X9Sx7C0dUQEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
