I have visualforce page which is downloaded as .xls file using contentType="application/vnd.ms-excel#excelFile.xls". I want to make this file as password protected. Is there any way to make excel file password-protected?

  • 2
    @Samir The 'possible duplicate' message is automatically generated when you vote to close as duplicate. Typing it out manually doesn't do too much. – Derek F May 2 '17 at 13:11
  • The Flying Saucer Render Engine is NOT used to export Excel Files, so my answer referenced above does not apply to this question although I'd expect the same principles to generally be at play. – crmprogdev May 2 '17 at 13:15