<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1019356" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1019356</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/allowing-access-only-if-valid-referer#comment-1115443</link>
    <description> &lt;p&gt;A sinister little side note:&lt;/p&gt;
&lt;p&gt;Just last night I wrote a script that fakes HTTP Request headers to get around anti-leaching scripts. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I have a framed interface.  The top frame has a form which has (among other goodies) a textbox for the item to pull (or steal), and a textbox for the referer to fake.  Clicking submit causes some javascript to redirect the bottom from to a PHP script I have on my server.  The PHP script then creates some fake HTTP Request headers, downloads the specified source, then rebuilds it&#039;s own headers, and finally sends the content to the bottom frame.  I&#039;ve tested it on HTML documents and images.&lt;/p&gt;
 </description>
     <pubDate>Sat, 05 Oct 2002 05:45:11 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1115443 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-side-scripting/allowing-access-only-if-valid-referer#comment-1115441</link>
    <description> &lt;p&gt;not sure about the htaccess, but you could just do an if statement&lt;/p&gt;
&lt;p&gt;if ($HTTP_REFERER == &quot;the page you want to come from&quot;){&lt;br /&gt;
//load page&lt;br /&gt;
} else {&lt;br /&gt;
//redirect&lt;br /&gt;
}&lt;/p&gt;
 </description>
     <pubDate>Sat, 05 Oct 2002 05:32:09 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1115441 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
