PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 10-03-2003, 06:41 AM   #1
Tanasja
Green Mole
 
Join Date: Oct 2003
Location: Amsterdam
Posts: 9
Question htaccess

Q: Is it possible with PhpDig to search in files that are protected by .htaccess?
Tanasja is offline   Reply With Quote
Old 10-05-2003, 09:51 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. If you want to search files protected by .htaccess, you could try to crawl the following:
Code:
username:password@domain.com
but personally I wouldn't recommend it.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 10-10-2003, 02:02 AM   #3
Tanasja
Green Mole
 
Join Date: Oct 2003
Location: Amsterdam
Posts: 9
Can you tell me why not?
Tanasja is offline   Reply With Quote
Old 10-11-2003, 04:53 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. I wouldn't do it because other people may be able to read the username and password if sent via plain text. If you are trying to crawl files in a .htaccess protected directory, maybe remove the .htaccess file, make the crawl, and then restore the .htacess file. That way the contents can be searched but when a user clicks a related link, they would get the prompted for a username and password. However, if the files in the .htaccess protected directory are for members only, and you do a crawl like suggested above, then it could be possible for non-members to read your protected content if they can find the files in the text_content directory.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 10-11-2003, 06:29 AM   #5
Tanasja
Green Mole
 
Join Date: Oct 2003
Location: Amsterdam
Posts: 9
Thanks for your help so far.
I will keep on thinking for a solution.
Suggestions still welcome...
Tanasja is offline   Reply With Quote
Reply

Thread Tools

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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spider Indexing and htaccess directories webmaster_k Troubleshooting 0 10-01-2007 10:50 AM
Can't get PHPDig to index an htaccess protected site mlerch@mac.com Troubleshooting 28 02-25-2004 03:13 PM


All times are GMT -8. The time now is 04:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.