okok Posted June 12, 2004 Posted June 12, 2004 Is it possible to prevent downloading of specific file types? I am using an application that stores files users should not be accessing in the smae directory to which uses go to access it. The hard way would be to move these files outside outside the public_html dir and change all the references to them in the application. If I could just prevent downloading files of specific types that would solve my problem. Quote
taznumber1 Posted June 12, 2004 Posted June 12, 2004 create a .htaccess files for that directory. Put the correct statements in that files to filter out any file with a specfic name, or a specfic file extension, and it will make it like those files do not exsist if you try to access that file directly. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.