Hi Everyone, I’m working on a requirement where I need to generate a CSV file in OutSystems, then password‑protect it, and finally send it as an email attachment. So far, I’m able to generate the CSV content, but I’m not sure about the best approach to password‑protect the CSV file, and Attach it to an email in a secure format so the recipient can open it using the password. If anyone has implemented something similar, your guidance or best practices would really help.Note: I dont want to encrypt the file instead I want to make it password protected.
Thanks in advance!
Hi @Ajit Kurane ,
CSV files cannot be password-protected directly like Excel files. As a solution, you can either create a .zip archive containing the CSV and password-protect the .zip, or convert the CSV into an Excel file and then apply password protection to the Excel file.
To create a password-protected .zip you can use the BigZip forge component.
Thank you for your suggestion.
This component has been developed on Traditional web. Can this functions useful in reactive web ?
Regards,
Ajit Kurane.
Hi, yes.You can use it as a service application.
Hi,You can use the Advanced_Excel component and call the Workbook_Protect action to set a password for the Excel file. Thanks,Prasath P
Hello Ajit,
This discussion might help you, it is related to creating a password-protected excel file using the Excel Package Component.
How to export excel file with password | OutSystems