Jump to content

How To Keep Users Within Their Folders


Recommended Posts



I want to offer a few blogs on my site, in the format: blogs.mysite.com/username. I am worried that if one individual has upload access to his folder, he could upload a script that does something like:



include "../anotherusername/wp-config.php";

print $DB_NAME."<br>";

print $DB_USER."<br>";

print $DB_PWD."<br>";



Basically, a user should only be able to upload scripts to his own folder and not be able to access another folder. Is there a way to do this?





Link to comment
Share on other sites

This would be in direct violation of our AUP & TOS. You have been warned. this type of hosting is NOT allowed on our servers.


More specific:


Web Sites


TotalChoice Hosting provides storage space and access for web sites through its Web services. TotalChoice Hosting will not routinely monitor the contents of your web sites. You may only host one domain per virtual account; resellers are allowed to host unlimited domains.


You are solely responsible for any information contained on your web site. However, if complaints are received regarding language, content or graphics contained on your web site, TotalChoice Hosting may, at its sole discretion, remove the web site hosted on TotalChoice Hosting servers and terminate your Web service. You agree to promptly reimburse TotalChoice Hosting for any reasonable expenses it incurs (including attorney's fees) in defending itself form third party claims relating to any of the content (whether created by you, your customers or your users) contained on your website.


You may not use your web site to publish material which TotalChoice Hosting determines, at its sole discretion, to be unlawful, indecent or objectionable. For purposes of this policy, "material" refers to all forms of communications including narrative descriptions, graphics (including photographs, illustrations, images, drawings, logos), executable programs, video recordings, and audio recordings.



Unlawful content is that which violates any law, statute, treaty, regulation, or lawful order. This includes, but is not limited to: obscene material; defamatory, fraudulent or deceptive statements; threatening, intimidating or harassing statements, or material which violates the privacy rights or property rights of others (copyrights or trademarks, for example).


Indecent content is that which depicts sexual or excretory activities in a patently offensive matter as measured by contemporary community standards.Objectionable content is otherwise legal content with which TotalChoice Hosting concludes, in its sole discretion, it does not want to be associated in order to protect its reputation and brand image, or to protect its employees, shareholders and affiliates.


You may not conduct hostee or offer free web hosting to people based on your subdomains.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...