Philani Mlawu
Philani Mlawu

Reputation: 11

Disable navigating site via URL

I've been trying to find the answer to this question in the forum. Maybe I'm not phrasing is correctly when searching, but is there a way to disable the use of navigation of a deployed site through inputing controllers and methods in the url.

In other words, only allowing navigation through buttons in the views.

Upvotes: 0

Views: 36

Answers (1)

If you are using this as some sort of security measure you should go stand in a corner and rethink your security-strategy ;)

If not, you could tag-on a session-id or something to every link and button and then verify that in the controller.

I think you should rephrase the question and include why you want to do this, maybe we could help you rethink the whole solution...

Upvotes: 1

Related Questions