I recently started running my own linux (Ubuntu) web server from home and have had no problems thus far. I am running the server through a home wireless router and the IP Address of the server is XXX.XXX.1.7
I have stored some files XXX.XXX.1.7/myFiles/Data and I can see all the files without having to FTP through fileZilla
When I run the server from outside my home network, I simply enter my IP Address as myIP#.XXX/myFiles/Data
Here is the problem, I don’t want others to be able to access my server files from outside my home network without permission but I do want them to be able to access the website, just not myFiles… How can I make it ask for a password or perhaps block everyone seeing those files without proper permission?
Thanks!
If your using Apache you can do it with
.htaccessSimple Google search I found a article how to do it. You can add multiple users and at a later time you don’t wan’t the person to have access you can remove their user and password.
http://www.htaccesstools.com/articles/password-protection/