Im about to implement a python script serving my openlayers code with GeoJson data from PostGIS. However, here How to connect OpenLayers to PostGIS data? I see " Unfortunately you cannot connect a web page directly to a database because of security concerns "
Could you please tell me about those concerns? Isnt using a proxy /server script good enough?
PS. I would ideally like to post in the above tread but lack the 50 reputation neccesary.. sorry about that.