Prevent direct access

Hi folks,
is there a way to prevent users to have direct access to some pages. For example: I don’t want a user to type in www.myapp.com/test1. If he types this he should be directed to a start page or something like that.

There are no pages in IT Mill Toolkit - your application is just a servlet that gets to process some URI. When you are outside your applications URI (see web.xml for mappings), you can use any standard restrictions there are for java web applications. Inside you applications URI you have more fine-grained control - your application can embed any tests in your application logic.