I have a img label embed a image path of mine public server, and show the image to users:
<img src="http://13.43.68.1:8000/img/gen/trafiic.png">
but this is security risk, because users can get my image source server(13.43.68.1
).
So, is there any method to let users can not get the IP? such as cache the image data, just show the cached img data as src.
Edit-01
I am under the image.tpl
, smarty template of PHP:
<div class="panel-body text-center">
<h4>Daily</h4>
<img width="360" src="http://13.43.68.1:8000/img/gen/trafiic.png.php?switch={$switch}&port={$portname}&cycle=-1d"><br><br>
<h4>Weekly</h4>
<img width="360" src="http://13.43.68.1:8000/img/gen/trafiic.png.php?switch={$switch}&port={$portname}&cycle=-1w"><br><br>
<h4>Monthly</h4>
<img width="360" src="http://13.43.68.1:8000/img/gen/trafiic.png.php?switch={$switch}&port={$portname}&cycle=-1m"><br><br>
</div>
in this case, how to hidden the src IP?