Hi,

You can migrate your site to something like Joomla.org. This would  
give you instant public / private content.

http://www.tutorialized.com/tutorials/PHP/User-Authentication/1

Some of these tutorials would help with the public private part.  
However, securing direct access to the image file will be a project  
in it self.

1) you can store image files outside of the public root and use php  
to display them.

2) you can encrypt them on upload and decrypt them viewing on the fly  
with php and mcrypt.

3) you can store them in a database and limit access that way

4) you can try to use something like AJAX to display images that are  
outside of the public root.

5) use htacess on the image folder and use php to authenticate users.

Anyone else have suggestions.

Sincerely,
Mike
-- 
Mike Brandonisio          *    Web Hosting
Tech One Illustration     *    Internet Marketing
tel (630) 759-9283        *    e-Commerce
[EMAIL PROTECTED]    *    http://www.jikometrix.net

     JIKOmetrix - Reliable web hosting


On Jun 27, 2006, at 5:14 PM, Marian Briones wrote:

> Hi everyone
> I've been handed my Harley Owner Group's website to take care of.  One
> of the things that Harley has stressed to us is that we can't have any
> photos of members in any public facing pages.  The other webmaster has
> been controlling the members only directory with the tried and true
> (and getting antiquated IMHO) htaccess/htpasswd.
>
> What I want to do is to have the member login, and once logged in, all
> of the pages are controlled by sessions on what can be seen by whom.
> Logged in members will see links and things that the public, non
> logged in visitors won't see, all easily accomplished with sessions.
>
> Now here's the kicker:  How can I protect access to the image
> directories?  I suppose I can put a blank index.html file in each of
> the image directories that are being protected to prevent browsing of
> the directories themselves, but I'm concerned and want to do this the
> right way and I sure don't want Harley coming after us...
>
> Thanks in advance,
> Marian
>
> Thoughts?
>
>
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor -------------------- 
> ~-->
> See what's inside the new Yahoo! Groups email.
> http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/HKFolB/TM
> -------------------------------------------------------------------- 
> ~->
>
> Community email addresses:
>   Post message: [email protected]
>   Subscribe:    [EMAIL PROTECTED]
>   Unsubscribe:  [EMAIL PROTECTED]
>   List owner:   [EMAIL PROTECTED]
>
> Shortcut URL to this page:
>   http://groups.yahoo.com/group/php-list
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to