I have .doc
and .zip
files in download directory on my server.
whoever visit my site page (download-file.php)
only those user should be able to download these files and other should not.
I am trying to achieve above but no luck...
I am still able to put direct file address (http://example.com/sample.doc
) in browser and I am able to download which I don't want..even someone else giving link to above file on any website then also download should not happen.
Could any one please share some idea..how i should achieve this.
Thank you in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…