[Tutor] Saving read-only or encoded text files?

Max S. maxskywalker1 at gmail.com
Fri Nov 18 17:26:39 CET 2011


Hi.  I've been using a lot of text files recently, and I'm starting to
worry about a user hacking some element by editing the text files.  I know
that I can pickle my data instead, creating less easily editable (try
saying that five times fast) .dat files, but I'd rather store individual
variables rather than lists of objects.  Is there a way to make my text
files either read-only or saved in some way that they can't be opened, or
at least not so easily as double-clicking on them?  I just want some
slightly more secure code, though it's not too important.  I just thought
I'd ask.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111118/6c204da5/attachment.html>


More information about the Tutor mailing list