Hello all, Does anyone know if there is a way to use .htaccess or a .conf file to specify that only certain file types can be accessed from a directory?
i.e
only allow people access to images in a image folder even if it contained a a number of other file types?
I know you can use a files directive to say only allow authenticated users access to certain file types but this is kind of the other way around. If I had an upload directory that I only want people to add images to (and uploads would be validated first) and if that was somehow compromised this could prevent them accessing their evilfile.ext (whatever extension they use)
Many Thanks