Jump to content
MakeWebGames

Recommended Posts

Posted

here is a nothere little mod

first make a file called common.php

and add

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

then make a file caled slogin.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

In all your staff files (staff.php staff_special.php etc.) find:

<?php (Thats the very first line of the file)

Add this above it:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

then add

ALTER TABLE `users` ADD `staffincorrect` INT( 11 ) NOT NULL DEFAULT '0';

from there you can add in to your header if thay try so meny times it will ban them

  • 3 years later...
Posted
Please look at the date of the last post. No need to bump something from 2008...

Same too you. :P

I wouldn't suggest this method of security anyway, it's too vulnerable.

Never keep your credentials within the authentication system.

Posted
Same too you. :P

I wouldn't suggest this method of security anyway, it's too vulnerable.

Never keep your credentials within the authentication system.

whats the best method of securing it then just the normal security.

Posted

Which is why your better using htaccess. Most control panels support the creation of secure directories using htaccess and a md5 hash password.

Using filesmatch with a list of file names you wish to protect is another way to go. Again htaccess with a hashed password.

Posted
Which is why your better using htaccess. Most control panels support the creation of secure directories using htaccess and a md5 hash password.

Using filesmatch with a list of file names you wish to protect is another way to go. Again htaccess with a hashed password.

One can implement a file to prompt BASIC_AUTH within PHP as well.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...