I am a student and would like to webscrap a school site to get my assignments that aren't done yet. I already figured out how to webscrap the site, but I want to be able to see the information on my phone, so I used the java server socket docs to create webserver but I don't know if it's safe to even do that. The information is not sensitive so I don't care if anyone online can see it but I am worried that I might be unwillingly setting myself up to getting hacked. I would like to know if this is stupid idea, and a better and safer alternative exist. Also if someone could give me tips on how to making if safe if that is possible.
PS. I chose to try to create a webserver instead of just buying hosting because I don't have money, so buying hosting isn't an option. thx
I have googled a lot in the past few days, including how to create a secure webserver with java etc. and also if serversockets are safe but the results are inconclusive. Most say it's better not to even attempt as security is super hard, and others say serversockts are safe.