Reply to Re: php authentication

Your name:

Reply:


Posted by seajay on 04/09/06 23:29

hello,

To resolve your problem you need to implement Session Management
After the user is authenticated through a username and password, a
session
is created.

Every time a file is requested the session is checked for validaty, if
the session
is still valid the file can be viewed.

This process forbids a user from accessing files by putting their names
in the browser

As for access to images, you will need a PHP script to send the actual
image.
e.g showimage.php?imgid=5
Images are stored outside htdocs folder so users won't be able to
access them.
showimage.php will fetch the image based on its id.

Here's a simple tutorial for Session Management
http://www.webmonkey.com/webmonkey/00/05/index2a.html?tw=programming

If you have any specific question don't hesitate to reply.

Seajay

[Back to original 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

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