I don't think that this has to do with the download functionality and Mendix but with file conversions in general. You could probably make it harder by creating a secure pdf instead though.
Check
https://forum.mendix.com/link/space/app-development/questions/87558