You access the textfile over ftp to write it, this way other users can not just "missuse" it at least as long you don't give them the password.
but FTP sends usernames/passwords in plain text. It is trivial to sniff that kind of data on a network, and some proxy/firewalls will even log them for you by default.
FTP is about as unsecure as it gets.