You are here: Re: Protecting a whole directory - PHP Authentication « PHP Programming Language « IT news, forums, messages
Re: Protecting a whole directory - PHP Authentication

Posted by salmobytes on 08/25/07 17:06

> If they are logged in, it
> retrieves the file (from a directory outside the webserver's document
> root directory, applies the appropriate content-type header and delivers
> it. If they aren't logged in yet, I present the login screen, and after
> logging in, they are presented with the file.
>
> They can also bookmark these pages.
>

Thank you. That's a good idea. In my case (boat building manuals)
clever boat builders don't need the text, they just need to
see the images (which have dimensions). I'll rewrite my
page generation stuff so it works that way. Of course, in
my case I'm lucky, because boat builders tend not to be
thieves :-)

 

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

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