[gdal-dev] using encrypted data

Yilmaz Arslanoglu yilmaz.arslanoglu at gmail.com
Wed Mar 3 11:08:57 EST 2010

Thank you very much for pointing to the sources, Frank!
Let me have a look at them, then...

On Wed, Mar 3, 2010 at 3:53 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> Yilmaz Arslanoglu wrote:
>> Hi all;
>> One of our customer wants to share their data which is in ESRI Shapefile
>> format.
>> However, they also would like to limit the usage of this data such
>> that the contents
>> will be utilized only through our software, and not for any other
>> purposes.
>> Does anybody have a suggestion about how this could be achieved ?
>> Does GDAL have any related encryption based support, and is there any
>> GDAL supported encrypted vector formats that we can convert it into?
> Yilmaz,
> There are no encrypted GDAL or OGR formats that come to mind.
> My suggestion is that you encrypt the shapefile(s) using some
> generic encryption and then implement a VSI*L filesystem handler
> for /vsiyilmazencrypt/ that would decrypt the data on the fly as
> it is read.
> The VSI*L file access layer provides for library and application
> supplied custom file io handlers.  There are several examples of
> implementations in gdal/port including cpl_vsil_subfile.cpp and
> cpl_vsil_mem.cpp and cpl_vsil_unix_stdio_64.cpp.
> I'm sure a good search on encryption libraries will turn up various
> options for encryption libraries.
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent

More information about the gdal-dev mailing list