davidgfnet / wifi_display

E-ink wireless display
244 stars 36 forks source link

Prevent public IP from accessing the system #5

Closed X-Ryl669 closed 8 years ago

X-Ryl669 commented 8 years ago

This change simply checks if the server is connected via the local network and deny answering if not. This allows installing on my front-end public HTTP server without fearing for anyone to fetch the pictures for the frame.

davidgfnet commented 8 years ago

I hope you've tested the patch :P