Re: [Rd] secure password token management method in R

From: Barry Rowlingson <b.rowlingson_at_lancaster.ac.uk>
Date: Sun, 18 Dec 2011 14:03:07 +0000

On Sun, Dec 18, 2011 at 1:28 AM, Paul Gilbert <pgilbert902_at_gmail.com> wrote:
> One way this is often done is to have this information in a file that only
> the owner can read. For example, mysql uses a file .my.cnf (in Windows it
> may have a different name). The code then just reads the information from
> the file. To guard against user carelessness, I think mysql will not use it
> if anyone other than the user has read permission on the file. Of the
> various options for passing user/password information, I think this is
> general considered one of the better ways.

 If anyone has a large chunk of spare time on their hands they could implement an R interface to the Gnome Keyring and store credentials in there. I think under the hood it uses dbus so first implement dbus in R. Or just call some code with system()...

 gnome keyring API: http://live.gnome.org/GnomeKeyring/StoringPasswords

 command line interface: https://launchpad.net/gkeyring

Probably getting a bit over the top now.

Barry



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun 18 Dec 2011 - 14:05:10 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 18 Dec 2011 - 21:40:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive