not authorized to view this page
Some of my webpages aren't meant to be viewable. For instance, in <FORM ACTION="registerScript.php"> registerScript.php is used to validate the form, enter the newly registered user into a database and redirect to the sign-in page. There's no reason for a user to directly navigate to registerScript.php because it only serves a functional purpose. I can redirect people away using extra php, but I was wondering if it's possible to simply set certain files as unauthorized so that I don't have to bother writing the extra code. I'm using the WAMP5 server package.
|