Not dangerous in itself, as you would have authorisation controlling if a page is view-able or not by the user requesting it.
if you're using auto incremented ids then the user might predict total number of users, in table or might try typing random numbers. If you're using UUIDs exposing a user id won't be a security issue.
Only dangerous if you arent concerned about others finding out the size of your database. Use UUID's and mask the id's.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community