473,385 Members | 1,796 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Image posing question

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.
Sep 7 '08 #1
5 1365
Computer Guy wrote:
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
Sep 7 '08 #2
On Sep 7, 11:46*am, FutureShock <futuresh...@att.netwrote:
Computer Guy wrote:
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.
Sep 7 '08 #3
Message-ID:
<af**********************************@m44g2000hsc. googlegroups.comfrom
Computer Guy contained the following:
>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
Sep 7 '08 #4
Computer Guy wrote:
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

Sep 7 '08 #5
Computer Guy wrote:
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.
js*******@attglobal.net
==================

Sep 7 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ralph Freshour | last post by:
My .php app displays an image on the web page, I notice that different ..jpg images display "funny" - apparently they all have slightly different image widths and heights yet in the image tag I...
0
by: Vlado | last post by:
Hello, I need to copy/paste image from Java application to/from the System clipboard. On windows everything is just fine, but on Mac OS is not. The problem is that when I transfer image to the...
10
by: Fred Nelson | last post by:
Hi: I have programmed in VB.NET for about a year and I'm in the process of learing C#. I'm really stuck on this question - and I know it's a "newby" question: In VB.NET I have several...
68
by: Nak | last post by:
Hi there, This might sound like a silly question but, technically could an image object be used for any image format? For example if I were to make plugins for my application, could they be...
35
by: Stan Sainte-Rose | last post by:
Hi, What is the better way to save image into a database ? Just save the path into a field or save the image itself ? I have 20 000 images (~ 10/12 Ko per image ) to save. Stan
8
by: swisscheese | last post by:
After reading 5 tutorials, I must be missing something basic. >From a .php web page how can I output an image? I created and drew the image and did: header("Content-type: image/png");...
17
by: HornyLaBelle | last post by:
I'm hiding the email address on a website with this javascript which works fine: --------------------------------- <p>Send your comments and questions to our <script language=javascript> ...
4
by: LT.Ang | last post by:
I am developing an application that possibly opens very large images - bmp, jpeg, tiff. I have 2 questions: Language: C#, VS .NET 2003. 1. When the program opens a BMP image, the amount of...
6
by: David Stone | last post by:
I have a simple question about the alt content of area elements within an image map: is it redundant to include phrases such as "link to..." or "jump to..."? My initial thought is 'yes', since...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.