[Year 12 IT Apps] Password script...

jturner ljturner at plc.vic.edu.au
Thu May 1 16:09:25 EST 2008


We have used the following JS script where the password is the  
intended page name (and therefore doesn't show up in the script)
from www.webreference.com (1997) - Mecklermedia Corp

<SCRIPT LANGUAGE = "Javascript">
<!--

function valid(path) {
	var password = prompt("Enter the password:", " ");
	if (password) location.href = path + password + ".html";
}

//-->
</SCRIPT>
Click <A HREF = "javascript: valid('/js/')"here</A> to enter the  
password


..... js is the folder in which the linked page is to be found  
relative to the source page.
You can always leave it as // if both pages are the the same folder
... page of course must be fit the suffix (ie .html in this case)

jt

On 01/05/2008, at 3:33 PM, Lumsden, Richard G wrote:

> The way I would do it authentically is use  an .asp file that  
> writes to the database on the server. The scrip is run server side  
> and the client will not see the code.
> This is awkward to set up because you would have to use an internet  
> server computer and it open a gateway for security issues.
>
> From: itapps-bounces at edulists.com.au [mailto:itapps- 
> bounces at edulists.com.au] On Behalf Of Chris Barry
> Sent: Thursday, 1 May 2008 2:07 PM
> To: 'Year 12 IT Applications Teachers' Mailing List'
> Subject: RE: [Year 12 IT Apps] Password script...
>
> If you use this script though, you only need to look at the source  
> code to find out what the password is.
>
>
>
> From: itapps-bounces at edulists.com.au [mailto:itapps- 
> bounces at edulists.com.au] On Behalf Of Lumsden, Richard G
> Sent: Thursday, 1 May 2008 1:50 PM
> To: Year 12 IT Applications Teachers' Mailing List
> Subject: RE: [Year 12 IT Apps] Password script...
>
>
>
> From: itapps-bounces at edulists.com.au [mailto:itapps- 
> bounces at edulists.com.au] On Behalf Of Robert Koren
> Sent: Thursday, 1 May 2008 1:17 PM
> To: itapps at edulists.com.au
> Subject: [Year 12 IT Apps] Password script...
>
> Dear Groovers
>
> Last year a nice little script was posted to provide simulated  
> password protection for a webpage.  I did use that as part of my  
> virtual teams approach with the students but forgot to keep a copy  
> for me. Would anyone have that on tap to share again?
>
>
> Cheers
>
>
> Robert Koren
> Head of IT Faculty
> Overnewton Anglican Community College
> Telephone: (03) 9334 0031
> Email: robert.koren at overnewton.vic.edu.au
>
>
> _______________________________________________
> http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
> IT Applications Mailing List kindly supported by
> http://www.vcaa.vic.edu.au/vce/studies/infotech/infotechindex.html  
> - Victorian Curriculum and Assessment Authority and
> http://www.vitta.org.au - VITTA Victorian Information Technology  
> Teachers Association Inc
> Important - This email and any attachments may be confidential. If  
> received in error, please contact us and delete all copies. Before  
> opening or using attachments check them for viruses and defects.  
> Regardless of any loss, damage or consequence, whether caused by  
> the negligence of the sender or not, resulting directly or  
> indirectly from the use of any attached files our liability is  
> limited to resupplying any affected attachments. Any  
> representations or opinions expressed are those of the individual  
> sender, and not necessarily those of the Department of Education  
> and Early Childhood Development.
>
> _______________________________________________
> http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
> IT Applications Mailing List kindly supported by
> http://www.vcaa.vic.edu.au/vce/studies/infotech/infotechindex.html  
> - Victorian Curriculum and Assessment Authority and
> http://www.vitta.org.au - VITTA Victorian Information Technology  
> Teachers Association Inc
> _______________________________________________
> http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
> IT Applications Mailing List kindly supported by
> http://www.vcaa.vic.edu.au/vce/studies/infotech/infotechindex.html  
> - Victorian Curriculum and Assessment Authority and
> http://www.vitta.org.au - VITTA Victorian Information Technology  
> Teachers Association Inc
>
> Important - This email and any attachments may be confidential. If  
> received in error, please contact us and delete all copies. Before  
> opening or using attachments check them for viruses and defects.  
> Regardless of any loss, damage or consequence, whether caused by  
> the negligence of the sender or not, resulting directly or  
> indirectly from the use of any attached files our liability is  
> limited to resupplying any affected attachments. Any  
> representations or opinions expressed are those of the individual  
> sender, and not necessarily those of the Department of Education  
> and Early Childhood Development.
>
> _______________________________________________
> http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
> IT Applications Mailing List kindly supported by
> http://www.vcaa.vic.edu.au/vce/studies/infotech/infotechindex.html  
> - Victorian Curriculum and Assessment Authority and
> http://www.vitta.org.au - VITTA Victorian Information Technology  
> Teachers Association Inc
> Overnewton Anglican Community College
> A school for the whole family celebrating 21 years of quality  
> education in the North West of Melbourne.
>
>  Winner of the 2007 Australian Chamber of Commerce and Business  
> Council of Australia National Work and Family Award for a Medium- 
> sized Business.
>
>  EOWA Australia's Leading Organisation for the Advancement of Women  
> (less than 500 employees) in 2005
>
> An EOWA Employer of Choice since 2002.
>
> http://www.overnewton.vic.edu.au/
>
> Keilor Campus
> 2-30 Overnewton Road
> Keilor, Victoria, 3036
> Tel: 03 9334 0000
> Fax: 03 9336 1835
>  	Taylors Lakes Campus
> 39 - 57 Robertsons Road
> Taylors Lakes, Victoria, 3038
> Tel: 03 9334 0000
> Fax: 03 9390 5144



Dr J Turner
Head of Information Technology / VCE Coordinator
Presbyterian Ladies' College
BURWOOD Victoria 3125


This email is intended for the use of the named individual or entity and
may contain confidential and privileged information.  Any dissemination,
distribution or copying by anyone other than the intended recipient  
of this
email is strictly prohibited.  If this email has been received in error,
then please notify PLC immediately and destroy the original message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/itapps/attachments/20080501/3372409d/attachment-0001.html


More information about the itapps mailing list