Re: [postgis-users] design question: how to geocode multiple dynamic "city, country"?

From: Rémi Cura <remi(dot)cura(at)gmail(dot)com>
To: PostGIS Users Discussion <postgis-users(at)lists(dot)osgeo(dot)org>
Cc: PostGIS Users Discussion <postgis-users(at)postgis(dot)refractions(dot)net>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: [postgis-users] design question: how to geocode multiple dynamic "city, country"?
Date: 2014-04-11 07:51:33
Message-ID: CAJvUf_v4869mUZNZ45n6CQEit0GnNFDysvmSMxZ0iCxoZrqWsg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hey,
my 2 cents :
If you give write access, beware of the sql injections
http://en.wikipedia.org/wiki/SQL_injection

Cheers,
Rémi-C

2014-04-10 21:48 GMT+02:00 zach cruise <zachc1980(at)gmail(dot)com>:

> i accept multiple "city, country" from users on-the-fly, and want to
> dynamically map them.
>
> i could create a table where i insert their multiple entries, and then
> geocode that table for display.
>
> but i also want to avoid giving write permission to the web user.
>
> i could create a schema and restrict write to that schema.
>
> or something better?
> _______________________________________________
> postgis-users mailing list
> postgis-users(at)lists(dot)osgeo(dot)org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Victor Sterpu 2014-04-11 08:58:53 Correct syntax
Previous Message Achilleas Mantzios 2014-04-11 06:04:02 Re: Linux vs FreeBSD