I have admin pages. I need to allow users to access the admin pages if the user is logged in to the admin with correct credentials only. I already checking user is logged in by using session variable in all the admin pages.
But still through tools like burp suite, by changing the response code of 300 to 200 and able to open the admin pages with out logging to admin.
Please tell me how to prevent the user to view the authenticated pages with out logging.