xcoderx Posted July 17, 2009 Share Posted July 17, 2009 Ok said i want to add a lil more security to reach d owner area of my script $action=(ownercontrol); here u get links to tools but before u see the tools above em can i add something like a question say wots owner gf name? If entered answer is corect the person see the tool links below else your answer is wrong ur not the owner Link to comment https://forums.phpfreaks.com/topic/166317-how-would-i-go-on-about-doing-this/ Share on other sites More sharing options...
WolfRage Posted July 17, 2009 Share Posted July 17, 2009 Just make a form and ask them the question, if their answer is correct proceed to the proper page else they are not the owner so kick'em out. Also do not provide any links until after final verification has been completed. Link to comment https://forums.phpfreaks.com/topic/166317-how-would-i-go-on-about-doing-this/#findComment-877079 Share on other sites More sharing options...
xcoderx Posted July 17, 2009 Author Share Posted July 17, 2009 N store answer in a array or? Link to comment https://forums.phpfreaks.com/topic/166317-how-would-i-go-on-about-doing-this/#findComment-877094 Share on other sites More sharing options...
WolfRage Posted July 17, 2009 Share Posted July 17, 2009 Store the answer in the database with the rest of the users information. Then verify it agianst that. Link to comment https://forums.phpfreaks.com/topic/166317-how-would-i-go-on-about-doing-this/#findComment-877099 Share on other sites More sharing options...
xcoderx Posted July 17, 2009 Author Share Posted July 17, 2009 Ok how about i again ask for the password again? Instead of answer. But say am the owner anyway and i am loggd in so now to go to owner panel do i have to destroy session or with active sesion i can stil ask for pasword? Link to comment https://forums.phpfreaks.com/topic/166317-how-would-i-go-on-about-doing-this/#findComment-877113 Share on other sites More sharing options...
WolfRage Posted July 17, 2009 Share Posted July 17, 2009 I am not sure I completely understand you, but you can use the same session because you still have not given them a final validation. If they are validated as the owner then you can do a session_regenerate_id() ... Link to comment https://forums.phpfreaks.com/topic/166317-how-would-i-go-on-about-doing-this/#findComment-877119 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.