Can anybody give me some advice on security of a website?
For example, there sre different kind of users for a site,
each user are granted to access a set of pages but can't access other pages, I know I can use http_referer to determine which this user came from and I know who he is,
but the draw back is that if I want those pages be secured , then all the html file need to be using .asp suffix and must all include a piece of code to detect where the user coming from (if he is from the login page, then show this page to the user, otherwise redirect to other page). Is this the best approach to achieve the requirement?
Any idea is welcome!
Thanks