Portal Home > Knowledgebase > Articles Database > encode tools?
encode tools?
Posted by NWSTech, 03-30-2008, 12:15 PM |
hi,
im trying to secure the owner tools on one of my sites and im thinking of randomly generating the links(eg for say ban a user the link may be toolsnew.php?ses=users session id&do= |
Posted by Rand1324, 03-30-2008, 12:58 PM |
Well, you could do something like this:
I used this code for a script for someone to resets someones password. I just typed a bunch of random passwords in the random_text area, and it will choose one of those array, and process it.
|
Posted by NWSTech, 03-30-2008, 01:04 PM |
that may work, i can run cron jobs to generate a number and store it in database if need be though so any other ideas would also bve greatly appreciated. so far im just md5'ing the page name :-
bbut it would be easy for someone to guess the md5codes if its just the page encoded
|
Posted by etogre, 03-30-2008, 02:01 PM |
You can accomplish the same effect of a cron job by doing the following:
I think this is what you're asking...
|
Posted by NWSTech, 03-30-2008, 03:18 PM |
that should work nicely cheers for that
|
Add to Favourites Print this Article
Also Read
Exim Config? (Views: 470)
IIS FTP (Views: 460)