99
is the primary key value of a record in your users table.99
has now been obfuscated by Wheels to b7ab9a50
. This makes it harder for nosy users to substitute the value to see how many records are in your users table, to name just one example.set(obfuscateURLs=true)
in the config/settings.cfm
file.obfuscateParam()
and deObfuscateParam()
functions to do the job for you.config/routes.cfm
file, you can still directly access numeric keys in the URL, e.g. /users/view/99
; However, there is a small work around you can implement to prevent this at least, using the routes constraints
argument.params.key
argument is an alpha numeric key and not just purely numeric: otherwise the route won't match.