logo AnonDrop.NET Info / API

Info / API

Security

Your security and privacy are our top priorities. Here’s how we protect your data:

  • Server-Side Encryption: All files are encrypted on our servers. We use a sophisticated system of private and public keys to ensure that your data is secure. All key management and decryption are also handled on the server-side.
  • How it Works:
    • Your user key seed is sent to the server, which then derives a public key.
    • The public key is used to access your user-specific database, which contains the encrypted file key seeds.
    • These file key seeds resolve to public keys that are used to decrypt the file's metadata and the list of its chunks.
    • This chunk list contains another set of seeds, which resolve to public keys that decrypt the actual file chunks at their respective storage addresses.
  • IP Protection: We use a proxy service to mask your IP address, adding another layer of privacy.

Links


API Documentation

Register a new user

To get a new user key, you can make a GET request to /register. This will return a page with your new key.

Get file list

To get a list of your uploaded files, make a GET request to /files?key=YOUR_KEY.

Direct Upload

To upload a file directly, send a POST request to /upload?key=YOUR_KEY with the file in a form field named 'file'.

Remote Upload

To upload a file from a URL, make a GET request to /remoteuploadurl?key=YOUR_KEY&url=FILE_URL&filename=FILENAME.

Chunked Upload

For large files, you can use chunked uploading.

  1. Initiate Upload: GET /initiateupload?key=YOUR_KEY&filename=FILENAME. This will return a session hash.
  2. Upload Chunks: POST chunks to /uploadchunk?session_hash=SESSION_HASH with the chunk in a form field named 'file'.
  3. End Upload: GET /endupload?session_hash=SESSION_HASH to finalize the upload.

Delete File

To delete a file, send a POST request to /delete/FILE_ID?key=YOUR_KEY.

Edit File

To edit a file's metadata, you first need to get the edit page with a GET request to /edit/FILE_ID?key=YOUR_KEY. Then, you can send a POST request to /editform/FILE_ID?key=YOUR_KEY with a JSON body containing the new metadata (name, isPublic, thumbnail, note).