QuickBaseJunkie
Qrew Legend
6 years agoRe: Replace record ID with other RNG based field for URL hacking
Hi GMarci!
You may have already answered your own question, but I had a client with a similar need when exposing their application to EOTI. Along with generating a random 'key' number for them to use to resume progress on their record I also obfuscated the RID by converting it to the r=format that uses numbers and letters through the use of the formula function QB32Encode.
So where you may have a URL formula such as:
------------------------------
Sharon Faust (QuickBaseJunkie.com)
Founder, Quick Base Junkie
https://quickbasejunkie.com
------------------------------
You may have already answered your own question, but I had a client with a similar need when exposing their application to EOTI. Along with generating a random 'key' number for them to use to resume progress on their record I also obfuscated the RID by converting it to the r=format that uses numbers and letters through the use of the formula function QB32Encode.
So where you may have a URL formula such as:
URLRoot() & "db/" & [_dbid_table] & "?a=dr&rid=" & [Record ID#]
with a result of https://<name>.quickbase.com/db/<dbid>?a=dr&rid=1
The new URL fomula would be as follows:
URLRoot() & "db/" & [_dbid_table] & "?a=dr&r=" & QB32Encode( [Record ID#])
with a result of https://<name>.quickbase.com/db/<dbid>?a=dr&r=b
This type of encoding is much harder to break as it is not incremental.
Let me know if this was helpful 👍
–Sharon
------------------------------
Sharon Faust (QuickBaseJunkie.com)
Founder, Quick Base Junkie
https://quickbasejunkie.com
------------------------------