Restrict Direct Acces, Allow Only Access Coming From Specific Addresses

I would like to allow the access to a view if the user comes from 2 specific forms. Is it possible?

Hi,

views access applied through controller/actions,

so you have to create a key and pass it into a hidden input.

then in the specific action check for this key and permit the access only if the same that the first.