Totum allows opening temporary tables for external access without system authorization.
When opening an anonymous table, the user
anonym
is used. This user must be enabled and have read or edit access to the temporary table to which external access is opened.
It is possible to use a solution from several tables called through linkTodataTable. anonym
must have access to all of them.
With the help of the linktoAnonymTable function, you can encrypt field values — these values will be substituted when following the generated link.
example: linkToAnonymTable(table: 'tmp_anonym_table'; params: $row)
row: rowCreate(field: "order_id" = 1111)
//Result: htts://test.demo.totum.online/An/444?d=Y4EK1mpzeZtzxRcB58aMBQ06jVAtzVVU9A6bUo3oJbIP04JcHs7fdnD%2B9HCrh%2F4TUS9R0E4BLjfPXZ3slG%2FQgjJqGkheCb%2B8Hm53neuqHq2bbxdd5a2sjOIEBBvmnFES
For encrypting the transmitted parameters, a salt
setting is provided: System Tables
— Main
– Settings and Cron
— Settings
— Salt for Anonymous Tables
.
It is also possible to pass get/post/post-raw
parameters when opening an anonymous table. If the table header contains fields h_get
, h_post
, and h_input
, the transmitted data will be substituted into them.