Other Information
“Is it allowed if I provide hosting for small HTML and PHP files on my custom domain to anyone who wants, where a person can upload a file and it becomes accessible at mydomain.com/name?”
“Is it allowed if I provide hosting for small HTML and PHP files on my custom domain to anyone who wants, where a person can upload a file and it becomes accessible at mydomain.com/name?”
Yes you could, but everything uploaded is your responsibility, thus if someone uploads anything against the rules your site might be suspended.
It’s technically possible, but I strongly recommend against it. Custom HTML content is one thing, but we are still holding you responsible for the content displayed on your website. So if there is anything there that breaks our terms, then we will take down your entire account.
Just don’t do custom PHP code, it’s suicide. It’s literally a remote code execution vulnerability that you’re intentionally creating. Letting people upload their own PHP code means they can access any file from any user of that service and read the contents of change it. Custom PHP code only works if you have sufficient measures to isolate the content from different users. We have that between websites and hosting accounts, but that’s simply impossible within a single website.