[Qgis-user] User setup for PostGres/PostGis use with QGIS

Fernando M. Roxo da Motta petro at roxo.org
Sun Apr 26 05:47:43 PDT 2020


On Sat, 25 Apr 2020 17:39:37 +0200, Jo <winfixit at gmail.com> wrote:


> From a security perspective you definitely want to create a distinct
> user account for each user. What if a user leaves your organisation?
> Will you update the password and have to communicate it to everyone
> before they can do further work? That's more cumbersome than doing it
> right from the start.

  Out of curiosity, does PostgreSQL keep any kind of log about what
transactions were performed by each user?

  If so, this can be an extra security tool.


  Regards.


> 
> After a while you may also discover that some users will need
> different rights.
> 
> Jo
> 
> On Sat, Apr 25, 2020 at 12:23 PM Michael Dufty <
> MDufty at mbsenvironmental.com.au> wrote:  
> 
> > I’m looking at setting up a postGIS server for use to store mapping
> > files to use with QGIS.
> >
> > We have about a dozen users who will all need to be able to edit
> > layers and save new layers to the server, and any new layers they
> > create need to be editable by other users.
> >
> >
> >
> > Can anyone advise if having everyone use the same user account
> > would be a good idea?  Since everyone will have the same privileges
> > this would seem to simplify setup.  Often there will be different
> > people editing the same QGIS project at different times, and I
> > think it would help with that, although it looks like we would need
> > to use the same id for the authentication on every computer if we
> > don’t want password prompts all the time.  I’m just concerned this
> > may cause issues with the server if the same user account is
> > accessing the database from different locations at the same time.
> >
> >
> >
> > As I understand it the alternative would be to create a role that
> > all accounts are members of, and alter the default privileges for
> > each account so the role gets access to any new tables created,
> > which would be a bit of a pain to set up for lots of accounts, but
> > probably OK.
> >
> >
> >
> > I have struggled with this in the past, and the consultant who set
> > up a similar server for us in  the past to use with Manifold gave
> > up on getting permissions to work and just made every account a
> > superuser.  This doesn’t seem ideal, but hasn’t caused any issues
> > in over 10 years.
> >
> >
> >
> >
> >
> > *Michael Dufty*
> >
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user  








  Roxo

-- 
---------------- Non luctari, ludare -------------------+ WYSIWYG
Fernando M. Roxo da Motta <petro at roxo.org>              | Editor?
Except where explicitly stated I speak on my own behalf.|  VI !!
                PU5RXO                                  | I see text,
------------ Quis custodiet ipsos custodes?-------------+ I get text!
 


More information about the Qgis-user mailing list