Working with sensitive data: Difference between revisions

From Opasnet
Jump to navigation Jump to search
mNo edit summary
 
Line 54: Line 54:


<rcode name='obj_save'  
<rcode name='obj_save'  
variables="name:table|description:Paste your table here|type:table"
variables="name:table1|description:Paste your table here|type:table"
>
>


library(OpasnetUtils)
library(OpasnetUtils)


cat(paste("The table has", nrow(table), "rows and", ncol(table), "columns with names...\n", sep = " "))
cat(paste("The table has", nrow(table1), "rows and", ncol(table1), "columns with names...\n", sep = " "))
oprint(table[1, ])
oprint(table1[1, ])


objects.put(table)
objects.put(table1)


cat("The table has been saved with name 'table'. Please write down the key of the run, otherwise you will not be able to retrieve your data.\nDO NOT REMOVE THIS RUN, JUST CLOSE THE BROWSER WINDOW. Otherwise you will permanently remove your table.\n")
cat("The table has been saved with name 'table1'. Please write down the key of the run, otherwise you will not be able to retrieve your data.\nDO NOT REMOVE THIS RUN, JUST CLOSE THE BROWSER WINDOW. Otherwise you will permanently remove your table.\n")


</rcode>
</rcode>

Latest revision as of 08:14, 8 May 2014

Question

How to work with data that has sensitive parts?

Answer

Encode and save a table as object

This interface encodes (encrypts) a table and saves it as an R object into the Opasnet server. You can retrieve the data using the code below by giving the password you gave here and the key of the model run (from the URL).

Paste your table here:

Cancel

Password (16,32, or 64 ascii characters):

+ Show code

Open and decode (decrypt) a saved object

You can open and decode a previously saved data by giving the key of the model run and the password you then created.

Identifier of the run:

Password (16,32, or 64 ascii characters):

+ Show code

Working with non-sensitive data

You can also save and retrieve non-sensitive data, which anyone can open and see if they just have the key of the run that created the objects.

Paste your table here:

Cancel

+ Show code

You can open a previously saved data by giving the key of the model run.

Identifier of the run:

+ Show code

See also

References


Related files

<mfanonymousfilelist></mfanonymousfilelist>