<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Hidden URL' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Hidden URL' posted on the 'Internet Development' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Tue, 18 Jun 2013 15:59:04 -0700</pubDate>
    <lastBuildDate>Tue, 18 Jun 2013 15:59:04 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Hidden URL</title>
      <link>http://www.programmersheaven.com/mb/internet/21224/21224/hidden-url/</link>
      <description>Hello! I would like to be able to access a password protected directory by&amp;lt;br&amp;gt;&lt;br /&gt;
setting the userid and password within my script (HTML/Java Script/Perl - whatever).&amp;lt;br&amp;gt;&lt;br /&gt;
I am creating links (on the fly) to the files in the passowrd protected directory &amp;lt;br&amp;gt;&lt;br /&gt;
if the user is a valid member (based upon a database lookup). The members' &amp;lt;br&amp;gt;&lt;br /&gt;
userid and password IS NOT the same as the userid and password to access the&amp;lt;br&amp;gt;&lt;br /&gt;
directory as there are many members - one directory (therefore one userid and &amp;lt;br&amp;gt;&lt;br /&gt;
password).&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Sure, I could simply create the link as follows provided the member is valid:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
http://userid:password@www.domain.com/file.html&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
but then everyone knows the userid and password and can send it to anyone. &amp;lt;br&amp;gt;&lt;br /&gt;
Is there an HTTP variable that I can set that tells the server the user is valid?&amp;lt;br&amp;gt;&lt;br /&gt;
Something that will simply allow me to create the link as:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
http://www.domain.com/file.html&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Or - is there a way to encrypt the userid and password in the URL?&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Thanks!&amp;lt;br&amp;gt;&lt;br /&gt;
CA&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/internet/21224/21224/hidden-url/</guid>
      <pubDate>Thu, 02 Mar 2000 11:11:08 -0700</pubDate>
      <category>Internet Development</category>
    </item>
    <item>
      <title>Re: Hidden URL</title>
      <link>http://www.programmersheaven.com/mb/internet/21224/22211/re-hidden-url/#22211</link>
      <description>While this isn't the most secure way, you might try looking around for the GateKeeper script.  it works like this:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
1) prompt user for "password"&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
2) Try to access page using:&amp;lt;br&amp;gt;&lt;br /&gt;
http://www.theserver.com/directory/password.html&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Where password is what they entered in the box prompt, and the .html (or .htm) is tagged on to the end of it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/internet/21224/22211/re-hidden-url/#22211</guid>
      <pubDate>Sun, 19 Mar 2000 23:08:02 -0700</pubDate>
      <category>Internet Development</category>
    </item>
  </channel>
</rss>