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

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

ios - Does Core Data autoupdate a many to many relationship on saving -

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