Connecting Tech Pros Worldwide Help | Site Map

Image posing question

  #1  
Old September 7th, 2008, 05:15 PM
Computer Guy
Guest
 
Posts: n/a
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.
  #2  
Old September 7th, 2008, 05:55 PM
FutureShock
Guest
 
Posts: n/a

re: Image posing question


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
  #3  
Old September 7th, 2008, 05:55 PM
Computer Guy
Guest
 
Posts: n/a

re: Image posing question


On Sep 7, 11:46*am, FutureShock <futuresh...@att.netwrote:
Quote:
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
Thank you, I will do that. Thanks again for the quick response.
  #4  
Old September 7th, 2008, 06:05 PM
Geoff Berrow
Guest
 
Posts: n/a

re: Image posing question


Message-ID:
<afc2fd0b-53b1-45b7-8eb2-a41e0c11bf6f@m44g2000hsc.googlegroups.comfrom
Computer Guy contained the following:
Quote:
>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.
The way to do this is to place the images above the web root and then
write a script which 'fetches' the image. That script can also check if
the user is logged in so that unauthorised users cannot view the images
(though nothing you do will stop them from copying and republishing the
images once they have them).
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
http://slipperyhill.co.uk - http://4theweb.co.uk
  #5  
Old September 7th, 2008, 08:25 PM
Sjoerd
Guest
 
Posts: n/a

re: Image posing question


Computer Guy wrote:
Quote:
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.
Last Friday there was a similar question, in a post called "Password
protection and prevent download".
http://groups.google.nl/group/comp.l...thread/thread/
ea29eb5cf50ddf0/9631b2f593252763

  #6  
Old September 7th, 2008, 09:35 PM
Jerry Stuckle
Guest
 
Posts: n/a

re: Image posing question


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.
>
You're right. It isn't a PHP question. As in an appropriate newsgroup
and you'll get a good answer. Here you'll get good answers to PHP
questions.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using images as radio buttons MazzaBee answers 3 February 18th, 2008 08:32 AM
Create thumbnails with clickable links XYZ Krustov answers 2 October 30th, 2006 05:15 PM
Good Family Portal System? Kirk Larsen answers 9 July 21st, 2005 08:49 AM
JavaScript disabled - how likely? Mason A. Clark answers 30 July 20th, 2005 03:54 PM