News for hackers. Stuff that matters.
Re:Ask HN: What is something exciting you're working on? by scottlilly on Monday February 21, 2022 @05:32PM (#30421592)
I've been working on something (probably) similar in C#.

The idea is to tag files/documents with attributes like "auto", "insurance", "2022", encrypt the file locally (using your manually entered key), copy it to a network share/cloud storage/etc., and add the tags and document information to a database.

Later on, you can search for documents based on the tags and get a decrypted copy of the file.

Re:Ask HN: What is something exciting you're working on? by jacknews on Tuesday February 22, 2022 @03:46AM (#30425475)
This doesn't sound horrible at all, in fact tree filesystems look like an anachronism from when disk space was limited, and both the logical layer of naming and metadata of objects, and the management of the data on storage, were conflated into a single data structure.

A DB to contain all the metadata, and blobs or object storage for the content itself (perhaps with backup metadata). The database manages the namespace, object storage manages the storage layer.

You can easily and quickly search file metadata etc, there could be multiple copies of the content, perhaps distributed, etc, etc.

Re:Ask HN: What is something exciting you're working on? by rudasn on Tuesday February 22, 2022 @11:44AM (#30430088)
Not similar to what I posted above, but similar to another idea I had but didn't pursue as much:

remote storage with local indexes, where the remote storage only holds encrypted data (can be postgres or s3 or whatever), and the only way to make sense of the data is if you have access to the local encryption keys and indexes.

The local indexes would function like your notion of tags, and also be somewhat encrypted (hashed probably) so you can find your data locally but only pull it from the remote when needed.