Hi everybody.
I just made a new site with KCMS 5.0.
On a page I need to display a list of files from a Media Library.
So I placed a "Media files data source" webpart and a "Media gallery - file list" webpart.
In the data source's order by property, I inserted "{%oby|(default)filetitle%}" to allow ordering of files by query string. the query string will contain a parameter "oby" with the name of the field to use in the sort by clausole (default is filetitle).
The problem is that the link is so visible to end user that anyone can inject SQL code:
<my url>?oby=FileCreatedWhen%20desc;DELETE%20FROM%20Media_File
Does exists a default way to avoid this behavior?
Thank you for any idea.
Marcello