How to make a folder not view able to to public

When someone goes to a folder on my website, how can I make them get a forbidden error? Or do you have any better ideas?

I don't want certain stuff to be viewable.

I am using cPanel
Folder-Example.jpg
LVL 3
Computer GuyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AnuroopsunddCommented:
0
Computer GuyAuthor Commented:
Where do I get to this?
0
AnuroopsunddCommented:
under advanced section
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
XizzCommented:
Perhaps you could give some more information about the OS and the webserver you are using. If it is Apache on Linux, try this:

1. Edit the default config in /etc/apache2/sites-available
2. Look for the following "Options Indexes FollowSymLinks"
3. Replace "Indexes" with "-Indexes"
4. Restart apache
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.