open source – Is there a CDN which makes publishing/contributing own files easily?

open source – Is there a CDN which makes publishing/contributing own files easily? – Webmasters Stack Exchange

Sharing files with others, encrypted on untrustworthy file storage (e.g. the cloud)

You can check the Signal Protocol

This protocol is mainly used to transfer end-to-end encrypted data.

The protocol mainly consists of:

1) X3DH (Extended Triple Diffie-Hellman) key agreement protocol

X3DH establishes a shared secret key between two parties who mutually
authenticate each other based on public keys. X3DH provides forward
secrecy and cryptographic deniability.

2) The Double Ratchet Algorithm

the Double Ratchet algorithm, which is used by two parties to exchange
encrypted messages based on a shared secret key. The parties derive
new keys for every Double Ratchet message so that earlier keys cannot
be calculated from later ones. The parties also send Diffie-Hellman
public values attached to their messages. The results of
Diffie-Hellman calculations are mixed into the derived keys so that
later keys cannot be calculated from earlier ones. These properties
give some protection to earlier or later encrypted messages in case of
a compromise of a party’s keys.

By using Signal Protocol, you can transfer safely any kind of traffic between some parties and even you can’t see the photos your users are sharing using your tool.
Also Signal Protocol is not vulnerable to MiTM attacks as long as the users are mindful with the chat code that is generated using X3DH (you will know about it from a video in the resources down below).

About managing file encryption keys:

you can use a zero knowledge authentican protocol to authenticate your users, by this you can’t know what passwords are the users using. So you can (in the client-side) use the password of the account of the user (if you have an account system) to derive from it an encryption key to encrypt the encryption keys of the encrypted photos to be stored safely in the cloud, so you won’t worry about how to manage encryption keys in the client-side.

Note: if the user forgot his password the encryption keys cannot be recovered.

Other useful resources:

  1. This video will help you understand more about end-to-end encryption
  2. This video will help you understand X3DH key agreement protocol
  3. This video will help you understand the Double Ratchet algorithm
  4. This video will help you understand how to share end-to-end encrypted data between more than two parties
  5. This video will help you understand more about zero knowledge authentication

How to manage large files in Github

I am currently working on a project which need some large size data files. (e.g. around 40 MB) My program need to read those data files. My current method is to save the file in onedrive and only provide the share link in the github. But I still want to know what is the best practice to work with those data files?

brute force – Bruteforce files with base64 encoded names

There are a bunch of files in a directory on a website.

The file names are like this: [base64 encoded 8 character part]-[static part].mp4


How can I go about bruteforcing these to find all the files? I can use a tool like gobuster but how do I make a wordlist? Are there any rules that base64 follows so that I can prevent getting a bunch of useless lines in the wordlist?

Or should I just run crunch 8 8 /usr/share/crunch/charset.lst base64 -o base64.txt -d 1@ -d 1, -d 1% -d 1^ where the charset is

base64                        = [abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/]

regex – in a directory with files that have numbers in filenames, how to find greater or smaller than x

OUT-OF-CONTEXT (only a comparison to illustrate the “what i want to do”) : when querying a database, when can select where id > 5 and id < 99……

CONTEXT-part1 : in a directory with lots of files.

CONTEXT-part2 : the filenames are like 123.txt 145.txt 233.txt 678.txt (not in sequence)

WHAT I WAN TO DO : find files that have (in the filename) greater then 127 and lower than 300

EXAMPLE : in the “part2” find 145.txt 233.txt

WHAT I BEGAN TO TRY : find . -regextype sed -regex '.*/(1-9).ref'

but how to better do this ?

ntfs – Windows/NFTS: do files have any unique, immutable properties?

I want to detect if a file on disk was edited since last access, or restored since last deletion. Let’s assume this isn’t on a VM.

Basic scheme:

Somewhere in the file is a cryptographic hash of the file’s last access date/time. Any modification to the file after this point will result in a hash mismatch.


The file could be modified and then have its modification date manually restored to the previous value using SetFileTime, so a hash mismatch does not occur.

This scheme is easy to overcome because all easily-accessible file access properties are mutable (date of creation, modification, access, etc).

Do files within an NTFS file system have any immutable properties? Maybe an MFT sector index or something? Something that would be specific/unique to each file but not something that can be changed manually?

In my actual use case I’m looking for a way to detect if a file has been restored after deletion. The contents would be the same before/after delete…but if there’s some immutable disk property that would be different between the original/restored versions, I could use that as a point of comparison…

8 – How to programmatically grant access to private files?

I was working under the idea that i could use hook_file_download to grant access to private files; but it seems that this hook can only be used to restrict access to files, not to grant access.

I have seen suggestions of other hooks like file_access and file_access_alter; but none of these exist any more.

google chrome – Pycharm app keeps opening my html files and links

Issue: .html files and links and ipython notebooks seem to be all routed through pycharm.

Whenever I open a html file or start a jupyter server, it opens up with pycharm instead of chrome.

I made sure that Chrome is my default browser in settings. Tried several times this one:
when opening a html file click open with -> other -> tick always open with chrome. It works just for that file but then html files are still associated with pycharm and next time it still opens with pycharm by default.

internal storage – How do I get rid of broken, invisible files that take up lots of space?

I tried downloading a pretty big mp4 file, but that failed because i didn’t have enough space.

However, it filled up all my leftover storage. I tried getting rid of it but it doesn’t show up in the file explorer. I checked hidden files.

Checking device care -> storage, it seems like it’s in the “other” category.

I’m kinda desperate because i need the storage space to work. How do i clear it up?

Samsung galaxy Tab S4, Amdroid 10

aws – How should the server architecture of a service look like that stores files from a desktop application in the cloud (S3/Cloud storage)?

I developed a desktop application and I am in the process of adding support for online cloud storage. The main requirement is to allow the user to store files in the cloud while being able to delete them locally to save space (this is not possible via Dropbox nor Google Drive).

My initial idea is to setup a server with Nginx that accepts incoming connections and forwards them to a webservice by acting as a forward proxy.

If the incoming request is a download/upload the query is redirected to the S3/GCS server. I want to avoid a direct connection to the S3/GCS container. Is this a suitable architecture?

TLDR: How should an architecture look like where a desktop application can send files to a custom cloud server.

Dropbox and Google Drive are not suitable for my workflow as they don’t allow to delete a file locally but keeping them in the cloud. Files and directories are always synced.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies 5000 Private Proxies - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies New Proxy Lists Every Day Buy Cheap Private Proxies; Best Quality USA Private Proxies