I asked this question on Unix Stackexchange. How to access /root directory from a browser?
I got an answer (in a comment by @dsstorefile) that It can be accessed either way :
- By running
chmod 0777 root
- By running browser as a Root User.
I think It's just a listing of the contents in the directory (for that I maybe wrong) but I want to know :
What could be Possible security risks/threats associated of accessing
/root directory from the browser in each case ?