how to implement login access

2014-03-09 Thread nn kk
 Hi, I want to create login page and validate the login against my db, which is 
easy and I have already implemented. But, how could I restrict the access to 
some pages if user is not verified, as it is possible to access some page by 
just writing ../pageName in the url?

Thanks in advance!

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: how to implement login access

2014-03-09 Thread Geoff Callender
Here's one way:


http://jumpstart.doublenegative.com.au/jumpstart/examples/infrastructure/protectingpages

Here's the equivalent for T5.4:


http://jumpstart.doublenegative.com.au/jumpstart7/examples/infrastructure/protectingpages




On 9 March 2014 21:53, nn kk inv...@abv.bg wrote:

  Hi, I want to create login page and validate the login against my db,
 which is easy and I have already implemented. But, how could I restrict the
 access to some pages if user is not verified, as it is possible to access
 some page by just writing ../pageName in the url?

 Thanks in advance!

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org