4

So prior JSos provided a private key:value system for it's users and a public one.

You could associate any data with a string and store it on the server, and your apps would be able to get the data back the next time you run it.
Further you had a public key value store which had read-write access for yourself and read-only access for all other users.

These were skey, and pkey (secure and public).

So I expanded this today. Now we also have ppkey (even more public) and fget/fset (files)

This is the whole list: /

/skey/set
/skey/get

/pkey/set
/pkey/get

/ppkey/set
/ppkey/get

/skey/fset
/skey/fget

/pkey/fset
/pkey/fget

/ppkey/fset
/ppkey/fget

skey: Only you can access it.
pkey: Only other logged in users can access it.
ppkey: Anyone on the internet can access it.

set: Set a string //Input via post body
get: Get a string

fset: Store a file //Input via <input type="file" name="file">
fget: Get a file

One consequence of this is that the service is now an image/file host.
https://js.lifelist.pw/app/browse/browse/upload.html
Example

I wrote that really quick using the browse service which is really meant for publishing web pages on the site. I will likely create a separate fileservice app.

The goal for that would be to let people set the level of access and to remember past uploads so they can easily find their links.

Here is the browse service if that intrigued anyone: https://js.lifelist.pw/app/browse/browse/index.html

So prior JSos provided a private key:value system for it's users and a public one. You could associate any data with a string and store it on the server, and your apps would be able to get the data back the next time you run it. Further you had a public key value store which had read-write access for yourself and read-only access for all other users. These were skey, and pkey (secure and public). So I expanded this today. Now we also have ppkey (even more public) and fget/fset (files) This is the whole list: / /skey/set /skey/get /pkey/set /pkey/get /ppkey/set /ppkey/get /skey/fset /skey/fget /pkey/fset /pkey/fget /ppkey/fset /ppkey/fget skey: Only you can access it. pkey: Only other logged in users can access it. ppkey: Anyone on the internet can access it. set: Set a string //Input via post body get: Get a string fset: Store a file //Input via <input type="file" name="file"> fget: Get a file One consequence of this is that the service is now an image/file host. https://js.lifelist.pw/app/browse/browse/upload.html [Example](https://js.lifelist.pw/ppkey/fget/x0x7/browse/theonlyrightresponse) I wrote that really quick using the browse service which is really meant for publishing web pages on the site. I will likely create a separate fileservice app. The goal for that would be to let people set the level of access and to remember past uploads so they can easily find their links. Here is the browse service if that intrigued anyone: https://js.lifelist.pw/app/browse/browse/index.html

No comments, yet...