Forum Moderators: phranque

Message Too Old, No Replies

LWP::Simple

         

keyplyr

3:52 am on Dec 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I don't know much about LWP::Simple, except it's used to list documents, often in association with libwww-perl. At least I usually see it just prior to someone attempting to use libwww-perl.

  • Can it potentially be used to rip, copy or download files? And if so..
  • Can it be allowed/denied by adding it to my existing libwww-perl allow list?

    RewriteCond %{HTTP_USER_AGENT} libwww-perl/[0-9] [NC OR]
    [b]RewriteCond %{HTTP_USER_AGENT} LWP::Simple [NC][/b]
    RewriteCond %{REMOTE_ADDR}!^xx\.xx\.x\.xx
    RewriteCond %{REMOTE_ADDR}!^xx\.xx\.xx\.xx
    RewriteRule!^forbidden\.html$ - [F]

    Thanks

  • jdMorgan

    9:48 pm on Dec 26, 2003 (gmt 0)

    WebmasterWorld Senior Member 10+ Year Member



    Yes, and yes.

    However, just like libwww-perl, you may wish to keep an eye on it and allow it to be used by certain directory and search engine editors for submission review and link verification.

    Jim