Insecure direct object reference

How to prevent the direct reference of insecure objects to a url?

I like http://sample.com/webform-432

It prevents anyone from copying and directly accessing a page or form.