Make the login link point to a NO JAVASCRIPT page, that has a
javascript
redirect on it to the login page. If javascript is disabled,
they never get
to the login page.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"chazter6" <webforumsuser@macromedia.com> wrote in
message
news:feo5sr$5jo$1@forums.macromedia.com...
> Background:
> I am using IIS 5 with Microsoft Access DB. Im coding
ASP/Javascript.
>
> I currently have a login.asp page which handles Username
and Password
> Authentication. No Javascript functions are on this
page. I do have a
> script
> that detects if their browser has javascript disabled.
>
> i.e.
>
> <noscript><p><span style="color:#FFFFFF;
font-weight:bold; padding:2px;
> background-color:#FF0000">This site requires
javascript to be enabled.<br
> />If
> you do not enable javascript in your browser settings,
some functions will
> not
> work properly.</span></p></noscript>
> </div>
>
>
> This is all fine and dandy but it doest affect the user
from proceeding
> once
> they put in their username and password. Once they are
authenticated, the
> user
> is redirected to a index.asp page.
>
> After my login.asp page, I have several pages within my
site which I do
> use
> javascript for some of my functions.
>
> So, how do I prevent my user from proceeding past my
login.asp page if
> their
> browser has javascript disabled.
>
> I thought of changing my login.asp to have the NOSCRIPT
tag to have a
> redirect
> to another login1.asp page, but if a malicious attacker
looked at the
> source
> page of login.asp, it would no how to bypass my NOSCRIPT
redirect tage and
> go
> straight into my login1.asp page thus still enable them
to login in with
> javascript disabled.
>
> Should I recode my login page to use a javascript
function before
> continuing?
> if so what would you suggest?
>
> Thanks in adance.
>