• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Protecting My Web Server

NakaNaka

Diamond Member
Ok. Inside my server w. some webhost, my folder, http://www.ffhockey.com/phil23/, you see how anyone can just look at all those files. I don't want that. I want people to able to access the individual files, but only if they have the exact file names. How can I block people from seeing these files? I have someone prying where I don't want them. P.S. - I have Cpanel.

 
I don't know how to do that but I would like to know how to do that to my website so I can see a directory of files.
 
put an .htaccess file in the directory... I can't recall what needs to be in it, but since I feel dumb for not knowing, I will google it for ya 🙂

hmm... I believe you want :

Options Includes FollowSymLinks

in your .htaccess file
 
SOrry .. exactly what am I doing? I see the file and I've opened up, but there doesn't seem to be much there. What specifically do I add and where.
 
So you have an .htaccess file? Then just put that line in there... I'll try it on my site to make sure I'm not telling you falsey while I am at it 🙂
 
good it works. I hope there is no way to get around that. I'm doing this because some person is stealing stuff from my private folders.
 
Yup... worked for me too... if you want to protect certain files from being hardlinked (ie someone types in the full URL straight to the file) you can password
protect them using .htaccess and .htpasswd files as well.
 
Back
Top