0
Is it safe to host a website thru GDrive?
Is it safe to host a website through G Drive by getting SSL certificate and want to usefor Youtube.
1 Odpowiedź
+ 1
Yes.
I can't think of any security problem with using Google Drive to host your static website files. You could embed a youtube video in any static file regardless of where it is hosted.
For other reasons, I wouldn't host a website in Google Drive, though.
The main reason I wouldn't host a website with Google Drive is that Google Drive wasn't made for hosting websites. That leads to many other drawbacks. Every page would have an incomprehensible URL. The URL's are long and full of random-looking hex which are cumbersome if you want to test website changes before uploading them
or just link to each page. It may also get annoying to manage sharing for each and every page in your website. Every HTML file, CSS file, JS file, image... will need to be publicly available and you'll have broken links if you forget to do this. I think every upload to Google Drive defaults to private.
github pages should be much easier because every file will get a URL clearly related to that file's path and the entire repository will be publicly available. github pages is free like Google Drive but designed for hosting static websites.
I have a public repository called "pages" in my joshi1983 github account and a few files in the virus3d directory which makes them available at:
https://joshi1983.github.io/pages/virus3d/
Some google searches and you'll see how to set up your own site using github pages. Tutorials are easy to find.