web - How can I prevent people from viewing my files when they browse my website? -


How can I prevent people from viewing my file when they browse my website?

I want users to stop reading from the file, say, http://domainname.com/css/ . When they do this, all the files in that folder are visible to the user.

You can change this to permissions on that folder or move it out of the public_html folder on the server

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -