Preventing URI navigation
I am using the java framework Vaadin to create a web application. There
different user levels for this application, and when the user logs in I
change the menu depending on their permission level. The problem I am
having is preventing a user from visiting a page they are not suppose to
by typing in the URI. For example if a user logs in to the application and
only has permission to view page one he can still access page two by
typing the URI to page two in the browsers search bar.
I was looking into preventing URI navigation, but was unsuccessful in
finding out how this is done in Vaadin. So my question is how to prevent
URI navigation in Vaadin? If you have a different method of preventing
users from accessing pages they are not suppose to please feel free to
post that as well.
Thank you
 
No comments:
Post a Comment