I have some links like this
http://www.domain1.com/files/domain1.com/files/def.jpg
http://super.domain1.com/files/super.domain1.com/files/abc.jpg
http://www.other1.com/files/other1.com/files/uhj.jpg
These websites are hosted in the same hosting and sharing files folder. We separate them by using a sub folder named like domain name of website. However, file which belong to domain1.com:
http://www.domain1.com/files/domain1.com/files/def.jpg
can be reach with url
http://www.other1.com/files/domain1.com/files/def.jpg
How to prevent this?