PDA

View Full Version : Webspace & Passwords


BiffaBacon
09-01-2004, 09:27
Hi,

I'm just messing about just now, uploading files to my webspace. I'm wonderingif there's anyway I can put a password to stop unwanted eyes having a look?

Thanks in advance.

threadbare
09-01-2004, 09:31
having alook at the webpage you have created?

its unlikey anyone will come upon it until you have submitted it to a few search engines

but there is a way to get a logon box to come up - it needs to be coded into the index.html file

if however you are talking about your webspace then that is already password protected

:welcome: to nthw btw

altis
09-01-2004, 09:34
http://homepage.ntlworld.com/sinead.l/


;)

BiffaBacon
09-01-2004, 09:39
Basically I'm only wanting people I want to look, to be allowed to look.

I've just created a few directories just now containing files, is it possible to disable access to a directory?

Can you supply a copy of the code for the Index file?

Altis, can you also shed some light on what you have done?

Cheers

altis
09-01-2004, 09:48
That's not me mate!

(Have a look in the Members Gallery thread in the Lifestyle forum and see if you can work it out)

To work out what a web page looks like in the raw, go to it and then select View / Source from your browser's menu.

Unfortunately, our webspace with NTL is very simple and it is not possible to password protect access to any files or directories. Don't put anything there that you don't want anyone to see. However, in order to find it, they will need to know the exact address of the file or directory in question.

threadbare
09-01-2004, 09:49
Basically I'm only wanting people I want to look, to be allowed to look.

I've just created a few directories just now containing files, is it possible to disable access to a directory?

Can you supply a copy of the code for the Index file?

Altis, can you also shed some light on what you have done?

Cheers
i dont know off hand but I'll have a snoop on the web for you - been a while since i did any web coding

altis - LOL like the efficient web design :D

edit: here is some help on the matter http://www.faqs.org/docs/htmltut/forms/_INPUT_TYPE_PASSWORD.html

there are other ways of doing it

I am sure some of the more experienced coders here will help

Frank
09-01-2004, 10:54
For ntl webspace you will need to use a javascript password protection method as it doesn't support any proper, server side, method.

http://www.codeproject.com/jscript/jspass.asp is one of the better ones, the rest store the password in plaintext which is just lame.

Scarlett
09-01-2004, 11:38
For ntl webspace you will need to use a javascript password protection method as it doesn't support any proper, server side, method.

http://www.codeproject.com/jscript/jspass.asp is one of the better ones, the rest store the password in plaintext which is just lame.

You cauld also try winzip'ng the files and passwording them, anyone can get at them but its not so easy to unlock them without the password. the only downside is that people will be able to see what is in the archive by openming it, its only when they try to open the files that they get stopped.

BiffaBacon
09-01-2004, 13:26
Thanks guys, much appreciate the feedback.