Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
注文ステータスのURLをランダム化することに利点はありますか?
現在、URLはのような増分注文番号に基づいておりblah.com/orderstatus/1、blah.com/orderstatus/2ユーザーのみが自分の注文を表示できます。URLの番号を変更して他の人の注文を調べようとすると、エラーが発生します。
blah.com/orderstatus/1
blah.com/orderstatus/2
これを行うことの不利な点はありますか?
これを行うのは良いことです。実際、ほとんどすべての Web サイトがそのようなインデックスを使用しています。
ランダム インデックスを使用すると非常に複雑になるため、絶対にお勧めできません。