Uridium Posted July 25, 2009 Posted July 25, 2009 call this file filedata.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Change localhost to the web address your game is on call this file illusions.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Again change the localhost to your addy Quote
Uridium Posted July 25, 2009 Author Posted July 25, 2009 Re: [MCCODES V2] File Creator and Editor ingame add these links to smenu.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. This system will allow the admin to create Files of which are sent straight to the FTP and named as chosen by the person creating it. The filedata.php will allow you to EDIT any files on your server the format can be of any type from html to javascript....... *FOOTNOTE* Think carefully when using this editor as in the wrong hands it CAN do fatal damage to your site... Quote
Uridium Posted July 26, 2009 Author Posted July 26, 2009 Re: [MCCODES V2] File Creator and Editor ingame SCREENIES Quote
Strats Posted July 28, 2009 Posted July 28, 2009 Re: [MCCODES V2] File Creator and Editor ingame I am not going to use this. But this is very nice :) Quote
Halo Posted August 14, 2009 Posted August 14, 2009 Re: [MCCODES V2] File Creator and Editor ingame Very nice work Illusions. This will help. Quote
Uridium Posted August 14, 2009 Author Posted August 14, 2009 Re: [MCCODES V2] File Creator and Editor ingame oO0 SECURITY NOTICE 0Oo PLEASE CHANGE THE NAMES OF BOTH FILES AND ANYLINKS THAT ARE IN THEM EVEN THE STAFF LINKS WILL NEED TO BE CHANGED This is purely so other users that see this script dont decide to randomly type illusions.php or filedata.php im aware both are setup only for admin access but a little more security wont harm it..... OOPS forgot to mention on script post also make a txt file called filedata.txt this is for the inview of the filedata.php file which will allow you to change the link of the file you want to edit to a new one so you dont have to keep uploading filedata.php all the time. Quote
CrazyT Posted August 14, 2009 Posted August 14, 2009 Re: [MCCODES V2] File Creator and Editor ingame Already made. :) With secuirty on it. I get to give staff/coders permissons on what files they can add/edit/delete :) Quote
Eternal Posted August 16, 2009 Posted August 16, 2009 Re: [MCCODES V2] File Creator and Editor ingame ? Answers like a noob " mines better :P ? WTG illusions this is a nice script :) Quote
Karlos Posted August 16, 2009 Posted August 16, 2009 Re: [MCCODES V2] File Creator and Editor ingame Note: This is not a flame, just personal opinion. I personally feel this mod is a bad idea, just think.. If they get hold of it, they can do serious damage to your site. Also you annoy one of your coders, and he decides to turn against you? Your quite literally fuxed. Why not give them a limited ftp account? :roll: Anyway.. Here's a couple of ideas.. Make it accessible to only a few admins, not all? You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Make them have to enter a special pass before they can access the add/edit/delete screen.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Uridium Posted August 17, 2009 Author Posted August 17, 2009 Re: [MCCODES V2] File Creator and Editor ingame as noted from above *FOOTNOTE* Think carefully when using this editor as in the wrong hands it CAN do fatal damage to your site... Quote
jds137 Posted August 17, 2009 Posted August 17, 2009 Re: [MCCODES V2] File Creator and Editor ingame Lets work on a way to really secure this mod then, to make it better for those who use it. Quote
Uridium Posted August 17, 2009 Author Posted August 17, 2009 Re: [MCCODES V2] File Creator and Editor ingame There is no safe feature to this mod.. its only safe if one person uses it and that person is the game owner and doesnt tell anyone wat the files are called. Quote
reek13 Posted October 12, 2009 Posted October 12, 2009 you could use a link hider like in the neab engine there something called nbase that hides the links Quote
a_bertrand Posted October 13, 2009 Posted October 13, 2009 First of all nbase in NEaB doesn't just hide the URL but does a bit more, however it's anyhow not really safe, as anyone with a little bit of knowledge knows how to see which URL has a frame. Quote
peterisgb Posted November 19, 2011 Posted November 19, 2011 this is good, on your filedata on a few lines down its is default to $file = 'preferences.php'; is tehre a way to create a new page and to be able to choose the file you want to edit instead of a preslected one, the idea of this mod is to make life easier but i still have to go into the file manager to be able to select which page to edit. Quote
Cronic Posted November 19, 2011 Posted November 19, 2011 Good stuff +1. You probably could secure the file by placing it into a password protected directory where only an Server Admin has acces to. Quote
runthis Posted November 20, 2011 Posted November 20, 2011 (edited) Making this mod safe would be very simple. Are you the only one that intends to use it? Why not just program it in, if its you by user id, or if your like me and super paranoid, sort it by your ip address, browser md5hash, only accept only port 80, and a password. For an even greater safety precaution, when the password is entered correctly, make it say "Incorrect Password" and hang for a second or 5. A few years back when i was making an mccodes game, i made it to where the admin account had 2 passwords, and a phrase that needed matching as well as locked it to my IP so only my home computer could access it Edited November 20, 2011 by runthis Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.