Re: FTPc and Orpheus Websites



In message <na.3901c84e07.a80620john.nolan@xxxxxxxxxxxxxxxxx>
John Nolan <john.nolan@xxxxxxxxxxxxxxxxx> wrote:

Then, I might consider including some pages that can only be accessed via a
pssword. Do any of you know if and how this can be done with RISCOS ?

You can password protect any web with a few lines of Java script as
follows:-

Put a directory containing the resources you want to protect on your
website along an html page with links to the protected stuff.

Do not have any direct references to the index page from anywhere on
your site.

In order to link to the index page use the following code:-

<script language="JavaScript"><!--
function go() {
window.location.href = document.formname.passwordName.value+".htm";
return false;
}
//--></script>


<form name="formname" onsubmit="return go()">
Enter the word:<br>
<input type="password" name="passwordName" value="" size="10">
</form>

This puts a form in your browser window and adds .htm to whatever name
you key in, then opens that file - if it exists.

You can have as many hidden pages as you want, and can change them
whenever you want also.

There is an example of this technique on my website.
To find it:-
A click on the web address in sig below
B click on the first red car,
C click on the gate
D type a password into the form and press return.
(one word that works at the moment is - private :-)

check out the source code of the various pages.
You do need java script enabled - O2 works and Firefox work but not
Webster. Haven't tried Fresco.


--
John Rickman - http://rickman.orpheusweb.co.uk
.



Relevant Pages

  • Re: Allow user
    ... I should have added that you'll want to password protect the worksheet as ... To protect the VBA code, in the VBA Editor go to the Tools menu, choose ... ' Lock all cells. ...
    (microsoft.public.excel.programming)
  • Re: Password Protect a webpage
    ... You can do this without creating a new protected folder. ... Publisher website to that folder. ... protect, to that protected subfolder is the most "logical" solution to ... I asked the same question (password protect a webpage) to my ISP. ...
    (microsoft.public.publisher.webdesign)
  • Re: Password Protect a webpage
    ... page 7 would have to reside in a protected folder which means the links to ... Fusion" site and I'm working with a Publisher 2000 site. ... protect, to that protected subfolder is the most "logical" solution to ... I asked the same question (password protect a webpage) to my ISP. ...
    (microsoft.public.publisher.webdesign)
  • Re: Password Protect a webpage
    ... we presently have a subfolder protected but the ... protect, to that protected subfolder is the most "logical" solution to ... I asked the same question (password protect a webpage) to my ISP. ... Presently we have a link on the site to a password protected folder. ...
    (microsoft.public.publisher.webdesign)
  • Re: Designing Network Security
    ... Since we need to protect ... We need to place a web server, ... Having a separate machine for the public website would go a long way. ... Cross site scripting and other web attacks before hackers do! ...
    (Pen-Test)