|
Well, my first post. Nice to meet you all.
And now to my question.
I have a script with wich users will, based on thier logins, send them to specific pages when they login from a central page. That much I have covered thus far. However, what I now need to do, is block access to these specific pages, so that no-one may simply bring them up by surfing the /public directory. But, I do not want to just throw a script on these pages that promts for a password. Rather, I'd like to find a script or such that will deny access to these pages if a surfer has not loged in from the main page with the correct login.
The kicker is that I have not had success with an access redirect. By that I mean the script that blocks access if the surfer has not come from a spacific URL, as we have several vertual domains pointing to the login page.
Does anyone know of a script or code that will work as a redirect back to a main login page rather than asking for another password?
Hope that made sence, and thank you for any input.
|