Advertisement
Search the Community
Showing results for tags 'secure'.
-
Hey guys, REPLACE " ::::: " WITH A NEW LINE (ENTER) This will be a short tutorial on how to IP secure your Admin CP. It is really simple and it only requires a little of PHP. ----------------------------------------------------------------------------------------------------- Requirements : FTP ----------------------------------------------------------------------------------------------------- Difficulty : Medium / Hard But, it will keep everyone out of the ACP login page about 98%. ----------------------------------------------------------------------------------------------------- If you need any help, contact me : Skype : pandaretail AIM : haxorfatal ----------------------------------------------------------------------------------------------------- First, go to the admin folder ----------------------------------------------------------------------------------------------------- Second, Open the index.php file in notepad (view/edit in FTP (right click)) It should look like this : ----------------------------------------------------------------------------------------------------- Third, add " $ip = $_SERVER['REMOTE_ADDR']; ::::: if ($ip == "IP HERE") { " right under " <?php ". Add an " ?> " right under " exit(); " , then add " <?php ::::: }else{ ::::: ?> " IF YOU WANT MORE THAN 1 IP(s) TO BE ABLE TO USE THE ADMIN CP, PUT : " if ($ip == "IP HERE" || $ip == "OTHER IP" || $ip == "OTHER IP") { " AND JUST KEEP ADDING " || $ip == "" " AFTER THE IP BEFORE IT. Should look like this : ----------------------------------------------------------------------------------------------------- Fourth, add you're own HTML code under the "else" statement (whatever you want the people to see if they do NOT have the ip that is put in the PHP code). ----------------------------------------------------------------------------------------------------- Fifth, end it with " <?php ::::: } ::::: ?> " Should look like this : ----------------------------------------------------------------------------------------------------- HOW TO CODE SHOULD FULLY LOOK : WITH 1 IP ONLY : MORE THAN 1 IP :
-
76 downloads
[b]Quick PHP Password Protection[/b] is a single user PHP login system which is secure, quick to implement, and requires no database. Perfect for small web apps, scripts, and personal pages which only have a single admin using them. [i]Demo is not working atm, but i have used it myself and it's really simple to work with.[/i] [hr] [b]Example Usage[/b] $quickprotect->checkLoginAndDirect(); That’s all it takes! One line of effective code (not counting the class include and init), and you’ve password protected a page! [hr] [b]Features[/b][list] [*]Secure. Tested brute force and SQL Injection proof. [*]Extremely easy implementation. One line of code, and you’re done. [*]No database required. Settings stored in INI file. [/list] [b]Note:[/b] this is a single user system ONLY . Multiple users are not supported. This is designed for small projects, web apps, and personal pages.-
- 1
-
- CodeCanyon
- Quick
-
(and 6 more)
Tagged with: