tileserver-php icon indicating copy to clipboard operation
tileserver-php copied to clipboard

TileServer PHP Password Protection

Open zulkifil opened this issue 7 years ago • 3 comments

In TileServer PHP if one implement password protection with .htaccess then TileServer PHP asks for authentication when anyone access TileServer PHP (that is good i want that) but it also ask authentication to all users who access the shared google maps (I do not want that). On other hand If i do not implement password protection with .htaccess then TileServer PHP work normally but it is open to all and anybody can access the TileServer PHP and its maps codes (it is not desirable in any production environment). Is it possible that only authenticated users can access TileServer PHP interface and all other user can just access shared maps without any authentication? How can i secure my TileServer PHP? I will appreciate help in this regard.

zulkifil avatar Mar 15 '17 07:03 zulkifil

I'm interested on the same topic. Did you solve it?

pankus avatar Aug 12 '17 21:08 pankus

Just copy HTML code from the interface as is and put it to another folder and protect this folder with httacess. Tileserver will run in a different folder without htacces.

daliborjanak avatar Aug 13 '17 13:08 daliborjanak

many thanks for this answer, but I do not figure out such a solution. Can you provide some additional details?

pankus avatar Aug 18 '17 19:08 pankus