Is there possible to load a mapfile file from a client to a server running a Mapserver? e.g. http://server/cgi-bin/mapserv?**map=**client/example/htdocs/example1-1.map&layer=states&mode=map
-
1No, it is not possible and that's good. Mapfile contains all the details for making a connection with a database and through DATA line your users could inject whatever SQL into your system. Validation blocks would not help because users could edit them too and make the evil SQL to validate.– user30184Commented Feb 10, 2016 at 23:17
-
However, I suppose you can do what you want with server side MapScript mapserver.org/mapscript/index.html.– user30184Commented Feb 11, 2016 at 11:50
Add a comment
|
1 Answer
No. You may create a form for file upload from the browser, but you need server side script to process uploaded data or you can use ftp/scp to upload files to the server.