|Posted: Tue, 2010-01-19 20:32|
This is my first post here, so hello community
I have a somewhat basic question, and I have already lurked the forum searching info. Anyways, I still have not found a thread about it. :/
I have successfully installed Gallery2, embedding it into my website. Everything works OK. However, I noticed that registered users are allowed to upload any type of file, which is a security risk, I think.
I wonder if there is a way of limit the types of file that can be uploaded to the gallery, maybe pasting some code to limit the allowed types.
For example, something like:
Any idea or advice? Have anyone tried adding something like this to his/her gallery?