[Qgis-user] obscurate DB password from .qgs project

Jürgen E. Fischer jef at norbit.de
Fri Nov 16 11:12:54 PST 2012


Hi Giovanni,

On Fri, 16. Nov 2012 at 20:07:43 +0100, G. Allegri wrote:
> > The other way to do it would be to add a user-defined "master" passphrase
> > (entered at run-time) to unlock all of the encrypted passwords, assuming
> > there are many. Exactly like Thunderbird/Firefox's Master Password.

> That's what I also was thinking to. I have dozens of layers and I can't ask
> the uset to set the pw for each one.  I hope I will be able to manage this
> through code...

QGIS will only ask for each connection once and cache the credentials in memory
- so if you have multiple layers from the same database, you should see the
request only once.


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-31
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de
committ(ed|ing) to Quantum GIS                         IRC: jef on FreeNode                         

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502




More information about the Qgis-user mailing list