In short, I don't want a user to access folders, or the data or files in it.
I searched a bit, and I came up with
deny from all, but it is not working when I put it on ftp; but on localhost its working.
I write the below given code in my upload folder:
# .htaccess mod_rewrite RewriteEngine On deny from all