When looking deeply at the code of some most popular websites, I've seen many times that, CSS and JavaScript file name are like this,
<link type="text/css" rel="stylesheet" href="//sample.com/css/css__k3sYInttBtNNuJgtPSyqaYy9vVxS4qTZLrfs1ujQB9g__SH_QaIH3bnSp3nOw8n8afhszfHJlxVt51qRlrrrOnk0__fBOuweRojwN82z7EY4v-sVsMwU_P_vZSaU3fmyho6Do.css" media="all" />
<script type="text/javascript" src="//sample.com/js/js__-V23Vc4PVahQcqfyxss_rmNogErBARnPCvI7oPXC0qQ__O-yO5Gg8pRRaefl4d0X9qXUJTOSHq0yazxF-4tJCU_k__fBOuweRojwN82z7EY4v-sVsMwU_P_vZSaU3fmyho6Do.js"></script>
It seems like that file names has been hashed and I don't know what is the reason. So I've got following problems.
What is the purpose of using this kind of method?
I've seen Very complex folder names also. Why is that?
Are there any security concerns?
Can we dynamically change file/folder names using PHP for maximum security?
I am little new to this area.
http://wxample.com/.../abc.js?v=0.5.3won't it ?