Say I have files on the server in a folder called 'filebin' under the root directory. How could I keep people from accessing files in it? I assume htaccess of some sort?
lmao, i was doing this today too... i found out u can just add an index.html or index.php in it. and inside the index file, just say forbidden, u dont have enough access... or whatever lol
htaccess could do the job however if your files are of 'very sensitive nature' best way to handle this would be to move them outside of your webroot and provide access based on the authentication.