Password protection on Text file

ashimarathiashimarathi Member Posts: 10
Hi,

I am trying to create a text file using Open, close and write commands. I want to make the text file 'password protected'. How can this be done?

Thanks,
Ashima

Comments

  • ara3nara3n Member Posts: 9,256
    It can't be done with text file.
    You can zip the text file and assign a password to the zip file.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • jannestigjannestig Member Posts: 1,000
    Wouldn't it be easier to make the destination folder accessible only to certain users ? the same peopkle who would have password access to the file anyway?
  • ashimarathiashimarathi Member Posts: 10
    Thank you very much for your replies. It would be a nice idea to make the folder password protected.

    Regards,
    Ashima
Sign In or Register to comment.