[mythtv] MythFlix Perl script & user credentials storage

Trevor Wagner fritzed at gmail.com
Thu Dec 11 08:05:14 UTC 2008


On Tue, Dec 9, 2008 at 9:29 PM, Kevin K <mythtv at oracleguy.net> wrote:

> However this brings me to writing the settings pages for the plugin. The
> user will have to provide their username and password and my question is if
> I should store that in the database and modify the perl script to either not
> save the cookie or only login if needed. Or should I make it so that if the
> user wants to regenerate the cookie because it has expired or because MythTV
> is now running under a different user, they would have to re-enter their
> password and press a button or something.
>
>
>
> Obviously storing the password in clear text in the database could be a
> security issue so that is why I wanted to get some feedback from other
> developers on how I should design it.
>

Personally, I would prefer that it is stored.  I don't consider my netflix
login information to be very sensitive.  However, would it be significantly
difficult to give the user both options?  I was thinking that the settings
screen could have an option to "Generate Cookie" and maybe a checkbox for
"permanently store login information".  Then, if the cookie expires, the
script could check if the login details are saved and then take the
appropriate action.

On another note, is mythflix still not using the Netflix API?  I haven't'
reviewed the netflix API, but I'm assuming that it doesn't use cookies.
Maybe I'm wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20081211/10709318/attachment.htm 


More information about the mythtv-dev mailing list