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

Jürgen E. Fischer jef at norbit.de
Fri Nov 16 13:10:13 PST 2012


Hi Yves,

On Fri, 16. Nov 2012 at 20:17:53 +0100, Yves Jacolin wrote:
> Is it possible to store this credentials in "user setting" instead in the 
> project files? I mean currently if user open the project later he should fill a 
> again the credentials form, isn't it?

Right. If you don't save your password, you have to reenter it whenever you
restart QGIS.   But that's kind of the point of not saving the password.

But we could enhance QgsCredentials to optionally offser to save the password
in a encrypted file and guard that with a master password - just like Etienne
already suggested.

But as Qt apparently doesn't have something for encryption aboard, that would
probably require yet another dependency.


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