Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Secure protocol for permitting file writes?

4 views
Skip to first unread message

Nelson Chen

unread,
Sep 15, 2004, 7:17:51 PM9/15/04
to
I was thinking the other day about ways to safely permit an unknown
program to write to one's local disks, without opening up one's
machine to malicious attack. I believe such a scheme must be embedded
in some language like Javascript, ActiveX, Java, and so on for it to
work. What do you all think of the following protocol?

Have a standard header for all files created/modified with the
language. The header can be a 128 bit number.
Have a file write command that can only create new files, all of which
are created with the header, and overwrite files that contain the
header. Files do not containing this fixed header cannot be created or
written to, and attempts to do so trigger an error.
Have user-customizable parameters (requiring admin priviledges) that
specify which drives and folders are permitted to be accessed, and
which ones can ordinary users change access permissions to. In
addition, specify a maximum file size, and a "forbid writing if < X
bytes of space are left" option.

I probably have left some sort of hole or holes in this scheme. Can
someone point them out? Thanks.

Later,
Nelson Chen
---
3W Encryption Utility is a Javascript blowfish implementation that
allows one to store PINs and the like online, and access them from
anywhere in the world. For more info, please check out
http://www.3wmart.com/blowfish/sellprog.htm

0 new messages