Forum Discussion

Re: 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:

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
------------------------------

1 Reply

  • GiuseppeMacri's avatar
    GiuseppeMacri
    Qrew Captain

    Thats awesome, that's pretty much what iw as looking for.

     

    Giuseppe Macri

    Business Integration Coordinator | ConferMed

    19 Grand St., Middletown, CT 06457

    Phone: (860) 347-6971 x3762  

    Email  : Macrig@chc1.com

    www.ConferMed.com

     


    This message originates from Community Health Center, Inc.. The information contained in this message may be privileged and confidential. If you are the intended recipient you must maintain this message in a secure and confidential manner. If you are not the intended recipient, please notify the sender immediately and delete all copies of this message. Thank you.



    ------Original Message------

    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:

    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
    ------------------------------