     ################################################################
 
     handle_message_from_client: (data) =>
+        # TODO: THIS IS A QUICK anti-DOS measure for early testing
+        if data.length >= 10000000  # 10 MB
+            @push_to_client(message.error(error:"Messages are limited to 10MB.", id:mesg.id))
+
         try
             mesg = from_json(data)
         catch error

        if not @account_id?
            @error_to_client(id: mesg.id, error: "You must be signed in to create a new project.")
            return
        project_id = uuid.v4()
        # create project in database
        database.create_project

        value : required
        ttl   : undefined
        cb    : undefined
    if opts.value.length >= 10000000
        # PRIMITIVE anti-DOS measure
        return
    database.uuid_value_store(name:"blobs").set(opts)

get_blob = (opts) ->
