DAT file compilation
rupole at hotmail.com
Sat Sep 30 20:23:20 CEST 2006
"Steve Holden" <steve at holdenweb.com> wrote in message news:mailman.1007.1159638448.10491.python-list at python.org...
> Roger Upole wrote:
>> On Windows NTFS file systems, you can add data to a file using named streams.
>> The extra streams aren't visible from Explorer so the average end-user won't
>> even know they're there.
> I hadn't realised how easy it is to access alternate data streams from Python. A filename of the right form
> ("basefile.ext:alternatename") works just fine, it appears.
> Unfortunately you then have the problem of how to create it, since there is no way to carry it around outside an NTFS
> filesystem, so some sort of post-install script would be required.
> There's also the issue that alternate data stream of any significant size will be regarded with great suspicion by forensic
> examinations and similar tests.
Another drawback is that you have to be careful how you move the files
around. shutil.copyfile doesn't pick up alternate streams. Also, there's
no way from stock python to enumerate the streams. (but that could be a
plus for the OP)
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
More information about the Python-list