Hi. As part of my website, I am going to start a 'Software Demos' site, allowing users to demo software like WordPress and phpBB. However, I was wondering if the web software could reset itself after every hour?
Thanks!![]()
Hi. As part of my website, I am going to start a 'Software Demos' site, allowing users to demo software like WordPress and phpBB. However, I was wondering if the web software could reset itself after every hour?
Thanks!![]()
What do you mean, exactly, by "reset"? Do you want to allow visitors complete backend access, restoring a default configuration and removing all posts? This would allow visitors, if unchecked, to do quite a bit of damage. You should also look into imposing limits on the amount & types of activity (limiting the size & number of postings, preventing file upload, preventing any altering of the codebase, such as installing extensions). The safest (only safe?) option would be to run everything on a virtual server, which would automatically shut down every hour and be replaced with a pristine copy.
Last edited by misson; 08-13-2010 at 03:45 PM.
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.
That is my aim.Originally Posted by misson
Thanks, misson!![]()
Easiest and fastest way would be to set up a cron to delete and refresh the backend database every hour.
Thanks, worldwise001! :D
If possible could you guide me through this process?
Thanks again!!