delete unused variable (refs #4285)
add control of visibility to download file (refs #4286)
add http status code 404/403 when cannot download file
add cvIdview argument in getFileLink for cv views (refs #4286)