Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Website Subdirectory Access
Old 04-15-2009, 12:23 PM Website Subdirectory Access
Junior Talker

Posts: 1
Trades: 0
I have a website that requires users to log in using a php access control script. It works great an users can't access any pages that contain the access control code.

One of the pages is a photo gallery, and I've noticed that if someone just types the direct URL of the photo, they can see the photo, even if not logged into my site. When I enable access control on the directory the photos are in through Abyss webserver, any links to the pictures in the directory require webserver username and password.

Is there a way to prevent access to my website's subdirectories to users who type the URL directly while still allowing the links on my access controlled pages to work?

Thanks...
jimbob12321 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-17-2009, 09:14 AM Re: Website Subdirectory Access
nayes84's Avatar
Extreme Talker

Latest Blog Post:
Difference between ASP And JSP
Posts: 232
Name: John
Location: Tokyo
Trades: 0
yes by making .htaccess file under the directory you want to protect
may be this will help
http://www.javascriptkit.com/howto/htaccess3.shtml
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

if(I'm("Helpful")) Add_Talkupation("nayes84");
nayes84 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Website Subdirectory Access
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16787 seconds with 12 queries