Computer Guy wrote:
Quote:
I know this is not actually a PHP question, but I figured this would
be the place to go to get a good answer. I have a website for the
neighborhood I live in and people's main concern is security. All the
pages I made in PHP and I have a login for users and all sensitive
information requires users to be logged in. I would like to post
images on the page, but I know that if I put them on a page that is
behind the login the images are still floating on the web server and
one can get to them without logging in. Is there a way to have the
images available only to the pages and not directly or, for that
matter, any other way to accomplish something similar. Thank you.
Actually the BEST place to get the right answer would be in an area in
regards to the question.
I believe that your question is best placed in the NG related to your
web server.
But for my 2 more cents, images don't just float around the web server.
They will be placed in a directory. You will need to change your web
server configuration to prevent direct access to that directory, whether
it being placed above the root directory(no changes needed), or
modifying that particular directory access.
Good Luck