PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Dec 23, 2004 4:14 pm Reply with quote Back to top

I was just wondering.
Renaming the admin.php is great but what if you use a admin login block like from nukescript just to name one ?
When you just click login without entering a name and pass it brings you to the admin.php......so wouldnt that bring you to the secret admin(renamed) page also ?
Or is there a solution to this...?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Fri Dec 24, 2004 8:26 am Reply with quote Back to top

That's a good point. But the benefit of renaming the admin.php is to prevent problems like cross site scripting or other attacks directly on the admin.php. Simpy renaming would force attackers to investigate further, which is more than most script kiddies are likely willing to do and also probably over most of their heads.

You could also create an interim script to validate that a user is entered and valid for redirecting to your renamed admin.php

But all that is a lot of work - why not use use admin authentication?
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Fri Dec 24, 2004 8:33 am Reply with quote Back to top

hi,

yeah thats possible but i was just wondering...
if i were a hacker i just click on the login button and it automatically shows me the new admin renamed page.
that makes it so easy after that.
so in order to prevent that the block needs to be changed that all fields must be entered correctly and if not it should go to a defined default page...
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Fri Dec 24, 2004 8:42 am Reply with quote Back to top

Right. If you want to rename the admin and have a login block, you could use the same fields on an interim page that does only some simple admin user verification, and, if it passes, goes on to the real renamed admin page.

If you're using Apache, I'd recommend the admin authentication approach because it's very effective. You could even use it on a renamed admin page for extra security.
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Fri Dec 24, 2004 8:44 am Reply with quote Back to top

yeah nice idea....gonna play around...
View user's profile Send private message
BobMarion
Former Admin in Good Standing


Joined: Oct 30, 2002
Posts: 1043
Location: RedNeck Land (known as Kentucky)

PostPosted: Sat Dec 25, 2004 12:24 am Reply with quote Back to top

The renamed admin file is a stop gap like kguske noted. To help prevent cross site scripting. Just like using a $prefix other then nuke is important to help stop cross site scripting and sql injection attacks. No one solution is 100% perfect but a grouping of protection is the best solution.
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum