August 06, 2020, 03:33:55 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: Zubrag - password-protect - easy to allow only certain users to a specific page?  (Read 5216 times)
Posts: 1

« on: November 04, 2012, 04:26:06 PM »

Hi Zubrag/all,

Great script, thank you for the password-protect. I was just wondering if it'd be easy add some code to allow users that are designated as admins to access a restricted page? I.e. all users have access to index.php, but admins can also access admins.php to edit a database? Non-admins get booted back to index.php. I'm currently only allowing login by password (username is irrelevant), so is it possible without vetting the username?

I'm a script kiddie, so don't want to throw spanners in the works hacking my way through perfectly good code.

many thanks for any help you can give

Pages: [1]
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC