<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000718" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000718</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/directory-viewing-hide-directory-listing-view#comment-1003109</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. Put an &amp;quot;index.html&amp;quot; in the directory. If the webserver is configured in a &amp;quot;secure&amp;quot;-way it should respond with that file even if you are trying to get &amp;quot;/password/&amp;quot;.&lt;br /&gt;
or&lt;br /&gt;
2. Use the &amp;quot;.htaccess&amp;quot; to forbid directory-browsing. (sorry I don&#039;t have my apache-reference at hand.)&lt;br /&gt;
or&lt;br /&gt;
3. use a provider with a secure configured system. Directory browsing should be disabled by default and enabled on a dir-by-dir-basis.&lt;/p&gt;
&lt;p&gt;ciao&lt;br /&gt;
Anti&lt;/p&gt;
 </description>
     <pubDate>Tue, 20 Jul 1999 00:40:00 +0000</pubDate>
 <dc:creator>anti</dc:creator>
 <guid isPermaLink="false">comment 1003109 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/directory-viewing-hide-directory-listing-view#comment-1003108</link>
    <description> &lt;p&gt;I am assuming that you are using ASP to require the password... What you would want to do is put a snippet of code at the top of each of your pages that looks like the following:&lt;br /&gt;
&amp;lt;%&lt;br /&gt;
IF Session(&amp;quot;password&amp;quot; = &amp;quot;&amp;quot; OR Session(&amp;quot;password&amp;quot; &amp;lt;&amp;gt; &amp;quot;[your password]&amp;quot; Then&lt;br /&gt;
Response.Redirect &amp;quot;/password/password.asp&amp;quot;&lt;br /&gt;
Else&lt;br /&gt;
%&amp;gt;&lt;/p&gt;
&lt;p&gt;That will require the password to be entered into the variable &amp;quot;password&amp;quot; and any page that has the code at the top will not display unless the password has been entered. You will want to do some password checking on password.asp and then, once the password has been entered correctly, pass it to a session variable and move on to a secured page. Now this script will only work for one person but it can easily be modified to accept multiple passwords and/or users.&lt;/p&gt;
&lt;p&gt;This isn&#039;t 100% secure (as nothing is) but it is about as secure as you can get for doing what you would like.&lt;/p&gt;
&lt;p&gt;&amp;lt;edit&amp;gt;&lt;br /&gt;
I hate that! Each yellow smiley face actually represents a )&lt;br /&gt;
&amp;lt;/edit&amp;gt;&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
Dynamic Internet Solutions : &lt;a href=&quot;http://www.dids.com&quot; title=&quot;http://www.dids.com&quot;&gt;http://www.dids.com&lt;/a&gt;&lt;br /&gt;
UNIX and Windows NT Hosting&lt;/p&gt;
 </description>
     <pubDate>Mon, 19 Jul 1999 00:23:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1003108 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
