You are here: File and Directory Security « PHP Programming Language « IT news, forums, messages
File and Directory Security

Posted by vaudry on 09/14/05 23:00

Hi knowledgeable people.

Context
-------
I'm building a very basic website, in php, to display a catalog of
jewel to be sold. The website have to basic functionality, one is the
consultation of the catalog and the other one is the maintenance of the
catalog. I have a MySQL ddatabase that contain the catalog, except the
images, which are keep in a directory.

website structure

..\ PHP scripts to consult catalog.
..\images Image of the catalog jewel.
..\admin PHP scripts to maintain information. Password protected
directory.


I have a share hosting, the web-server run under Apache and I cannot
create new Apache user.

Problem
---------
I have one directory where I store all the image of the catalog. I need
to allow everybody to consult it in order to display the image, but
only authorized user should be able to create,update and delete images
in it.


I need some help the basic way to protect this using PHP script, if
possible?


Anybody have an idea?

Francis

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация