web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Export Data into CSV with password protected or Encryption

(0) ShareShare
ReportReport
Posted on by 25

Hello All,

I want to export data into CSV and when anyone open that CSV ask for a password or open in encrypt data 

how can it possible?

I have the same question (0)
  • Martin Dráb Profile Picture
    236,279 Most Valuable Professional on at
    RE: Export Data into CSV with password protected or Encryption

    Text files don't have such a capability.

    Regarding generic file encryption, please start by thinking about your requirements. For example, which platforms do you want to support? What if users download the data to a Mac or an Android phone? Or are you fine just with Windows?

    I think the easiest solution might be using an encrypted ZIP archive.

  • Martin Dráb Profile Picture
    236,279 Most Valuable Professional on at
    RE: Export Data into CSV with password protected or Encryption

    By the way, which version of AX are you using?

  • Suggested answer
    Luke Sha Profile Picture
    on at
    RE: Export Data into CSV with password protected or Encryption

    There is no OOB feature to support this requirement.  CSV file itself doesn't support password protection. If there is one 3rd tool support it, you have to call it after your application save download file.

  • DIPAK NAGAR Profile Picture
    25 on at
    RE: Export Data into CSV with password protected or Encryption

    Thanks Martin and Luke for the quick reply

    My requirement only for windows i am exporting payment journal data to csv file and client want that if anyone open that data then csv file open with encrypted format

    and i want that into d365 f&0

  • Martin Dráb Profile Picture
    236,279 Most Valuable Professional on at
    RE: Export Data into CSV with password protected or Encryption

    Does the suggested solution (using a password-protected ZIP archive) meet your requirements or not?

    If not, can you please explain the conflicting requirements?

    By the way, I moved this thread to the D365 Finance forum.

  • DIPAK NAGAR Profile Picture
    25 on at
    RE: Export Data into CSV with password protected or Encryption

    Hello Martin,

    How can we use password-protected ZIP archive with x++ can you please give any idea

  • Martin Dráb Profile Picture
    236,279 Most Valuable Professional on at
    RE: Export Data into CSV with password protected or Encryption

    As far as I know, you would have to use a thrid-party library such as SharpZipLib.

  • DIPAK NAGAR Profile Picture
    25 on at
    RE: Export Data into CSV with password protected or Encryption

    Hello Martin,

    I don't know how can we use that third party in D365 F&O if you explain or any other solution for the requirement

  • Martin Dráb Profile Picture
    236,279 Most Valuable Professional on at
    RE: Export Data into CSV with password protected or Encryption

    Can you explain your problem, please?

    For example, maybe you don't know how to create an archive, or how to add a file, or how to set a password. Or maybe you don't know how to add a library, or how to use .NET Interop from X++. Or something else...

    Understanding your actual problem will allow us to address the right thing.

    If you're struggling with classes of the library, its documentation should help you.

  • DIPAK NAGAR Profile Picture
    25 on at
    RE: Export Data into CSV with password protected or Encryption

    Hello Martin,

    My actual requirement is tha my exported csv file is not able to edit by anyone for that any option like save that exported file in different folder or ask for save location in D365 F&o

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,177

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 860 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 593 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans