I'm new in linux... not 100% newbies, perhaps 98%. I'm able to write some script but I'm not an expert on specific settings on Raspberry. I'm looking for a way to turn on/off my server when I need in order to avoid somebody hack it and has access to some information (ie, my picture on the toilet ˆˆ)
For that I've plan to turn on/off remotely the powersupply (simply on=off) , but is there any risk I lose my data on the SDcard taking into account that only a webserver (just displaying a webpage) is running ?
I'm using a RPI Zero Wifi