I need to serve files through grails, only users with permission have access, so I can not serve them with a static reference to the container. The system can seamlessly transfer binary files to the client, but now (for bandwidth problems on the client) I need to implement segmented or partial downloads in the controllers.
Is there a plugin or a proven solution to this problem? Perhaps this is some kind of tomcat / apache plugin to restrict access to files with certain rules or temporary tickets, so that I can delegate the problem of “download loading” or “segmented loading” in a container.
I also need to record and save statistics when loading users. I need good performance, so I think that doing this in the controller is not very good.
Sorry bad english.
alter source
share