Page 1 of 1

secure login

Posted: Thu May 05, 2011 4:55 am
by Anant
Hi,

I have a folder SECURE in my application and all the pages under this folder need to go through login check.

Now the problem is for instance -

There are 2 pages within Secure folder - http://www.abc.com/test.php and other page is http://www.abc.com/test.php?page=2

I want the first page i.e. - http://www.abc.com/test.php to be accessible without login and when user clicks on page 2 - the login box pops up to login. I have sorted out the login process, but i just need to know the best possible way to make the first page accessible which is under the secure folder.

Re: secure login

Posted: Mon May 09, 2011 4:00 am
by Anant
any suggestions ?

Re: secure login

Posted: Mon May 09, 2011 4:27 am
by implications
It depends on how your current login system is scripted but in order to do what you said, the concept would be to password protect the second page but not the first page by implementing some kind of code that prevents access to a page only if the code is present?