a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

protecting folder access

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> protecting folder access
Page: [1]
 
adman_9000

 

Posts: 1
Joined: 12/19/2004
Status: offline

 
protecting folder access - 12/19/2004 15:32:14   
Hi,
Don't know if this is a simple question to answer or not but here goes..

I'm currently putting together a site which incorporates an open-source php forum and a folder containing images and files uploaded by members which can only be viewed by other members.
I need a way to prevent access to this folder by anyone who isn't logged in to the website. I could probably use htaccess and have htpasswd updated whenever someone new joins but then they'd have to re-enter their details to get into the folder. Or I could put the folder above the root directory & use PHP readfile() to view the files, but would it be a bad idea to have people uploading there?
Giomanach

 

Posts: 6136
Joined: 11/19/2003
From: England
Status: offline

 
RE: protecting folder access - 12/28/2004 21:01:58   
Welcome To Outfront

I'm afraid there is no sure-fire way of doing this. The only possible option would be to use CHMOD, but then that is very restrictive.

Sorry!

_____________________________




(in reply to adman_9000)
BobbyDouglas

 

Posts: 5479
Joined: 5/15/2003
From: Arizona
Status: offline

 
RE: protecting folder access - 12/28/2004 22:28:13   
First thing I would do is turn indexing off on the images folder. Also, why couldn't you just use cookies and give access to the folder through that?

It is like hiding a forum for non registered users. It will be hard to do, and cost quite a bit, but if you really need it, I think it can be done...

_____________________________

Arizona Web Design - Mr Bobs Web Design in Arizona
The Arizona Web Hosting Challenge

(in reply to Giomanach)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> General Web Development >> protecting folder access
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts