PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   htaccess (http://www.phpdig.net/forum/showthread.php?t=118)

Tanasja 10-03-2003 06:41 AM

htaccess
 
Q: Is it possible with PhpDig to search in files that are protected by .htaccess?

Charter 10-05-2003 09:51 AM

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.

Tanasja 10-10-2003 02:02 AM

Can you tell me why not?

Charter 10-11-2003 04:53 AM

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.

Tanasja 10-11-2003 06:29 AM

Thanks for your help so far.
I will keep on thinking for a solution.
Suggestions still welcome...


All times are GMT -8. The time now is 05:05 PM.

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