Echo4190 / alliancep2pbeta

Automatically exported from code.google.com/p/alliancep2pbeta
0 stars 0 forks source link

Shared content cache #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It might be a good idea to cache users shares. For example, if I start
viewing your shared folders my client would then save a localized copy of
all the folders and files that I browsed into my H2 database. Then if you
go offline I can still view your shares and add files to be download when
you come back online. Not only that but when doing a search for files you
could have Alliance search your own H2 database first instead of having it
check every friend's files.

Caches would have to have expiration dates on them to keep content fresh.
They should only be made when you actually click on a users name and browse
their folders too.

Original issue reported on code.google.com by Deathfi...@gmail.com on 7 Feb 2010 at 9:00

GoogleCodeExporter commented 8 years ago
At first i thought this was a good idea, but then i thought about what would 
happen
if one of my friends gets busted and he had no FDE in use. To my knwoledge 
there ist
no builtin encryption in Alliances storage, so a file cache is not a good idea.

Original comment by honkiit...@googlemail.com on 10 Feb 2010 at 8:51

GoogleCodeExporter commented 8 years ago
Well for one, we do not support illegal file sharing. If you're assuming we add
features for such uses then you're surly mistaken.

Second, Your friend has more problems to deal with then just cache if he's not 
using
an FDE. Files he downloads are on the computer regardless of whether or not he's
using Alliance. There's also the localized database (H2) that Alliance uses that
holds the file info and locations to the files on the computer.

Your post made me realize something though. Caches that your client saves 
should be
cleared when you shut Alliance down since there's no telling if those files will
change from the time you sign off to the time you come back.

Also when viewing that folder or file(s) again, Alliance should re-cache any 
new or
modified content. Caches should also expire after a set number of hours. I 
suppose it
might be best to make the cache time an option similar to web browsers.

Original comment by Deathfi...@gmail.com on 10 Feb 2010 at 3:10

GoogleCodeExporter commented 8 years ago
Sure, the busted friend has the problem, but if you implement offline file 
caches all
other people on his network will have the same problem a few days later ... .

Original comment by honkiit...@googlemail.com on 10 Feb 2010 at 8:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Ok, it depends on how you implement it ...

Original comment by honkiit...@googlemail.com on 10 Feb 2010 at 8:25

GoogleCodeExporter commented 8 years ago
Again Alliance is not for illegal file sharing. If you're that scared then just
encrypted the whole damn folder Alliance is in and stop worrying about it.

FYI. assuming your friend is caught for illegal file sharing, which is highly
unlikely unless he's not using Alliance as intended, the authorities could just 
turn
alliance on and browse all his friends folders anyway. So your point about 
cache is moot.

Also, like I mentioned in my last post in the 3rd block of text, offline cache 
is bad
anyway.

Original comment by Deathfi...@gmail.com on 10 Feb 2010 at 8:35

GoogleCodeExporter commented 8 years ago

Original comment by Deathfi...@gmail.com on 24 May 2013 at 3:46