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) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -