# Send a selfie picture from a mobile device to node-red server

**URL:** <https://discourse.nodered.org/t/send-a-selfie-picture-from-a-mobile-device-to-node-red-server/18715>\
**Category:** Dashboard\
**Created:** [2 December 2019 22:41 UTC](https://discourse.nodered.org/t/send-a-selfie-picture-from-a-mobile-device-to-node-red-server/18715 "2019-12-02T22:41:03Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [4 December 2019 10:48 UTC](https://discourse.nodered.org/t/send-a-selfie-picture-from-a-mobile-device-to-node-red-server/18715/9 "2019-12-04T10:48:11Z")

</div>

> [@BartButenaers](#):
>
> Damn, no experience with that...  
> But aside from the storage, I'm still confused in which way the user can access and change the settings...

It isn't hard. You either use a cookie or, best for modern browsers, localstorage.

There is a clear API for using localstorage which you should be able to use via a Dashboard template node. Basically, localstorage gives you a key/value store associated with your URL so you can stuff things in it and retrieve them when you like. It is automatically persisted to disk so you don't have to worry about it. It is exactly what you need for persisting browser settings.

> [@edje11](#):
>
> What about dropbox

That would require everyone using the node to also use Dropbox. That is not a good user experience. Not everyone wants to sign up to cloud services, not everyone wants to or even is permitted to connect their Node-RED or browser to Dropbox.

> [@edje11](#):
>
> You don't have to open ports to you node-red server that could be a security issue.

Perhaps not, but the Node-RED server has to have the Dropbox credentials and a connection to Dropbox both of which could also be security issues for some. Not to mention that many corporate/enterprise firewalls block access to Dropbox and similar services.

---

_[View the full topic](https://discourse.nodered.org/t/send-a-selfie-picture-from-a-mobile-device-to-node-red-server/18715)._
