Search code examples
securitysymfony-1.4wkhtmltopdfsfguard

sfGuard token login for wkhtmltopdf


wkhtmltopdf allows to make a screenshot of a browser view with a webkit browser.

I have a Symfony 1.4 application that requires login, which I would like to use wkhtmltopdf to create a "print this page" function.

How can I securely facilitate this. I'm thinking of creating a one-off token on each screen for the print button that allows wkhtmltopdf to login without using the password of the user.

Any suggestions for how to structure this?


Solution

  • We'vbe come to the conclusion to use the built in "keep me logged in" functionality for this problem.