Hi @celinafregoso99, thanks for messaging the Community!
The file would be as secure as a normal file on both your computers would be. If anyone else has access to the Dropbox folder on the machine, or via the site, then they could view that file.
Is the file going to be updated often with different passwords, or is this a one-time password which will remain the same?
This will help me assist further!