HighDots Forums  

Securing passwords and enhancing error messages

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Securing passwords and enhancing error messages in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gene-stevo webforumsuser@macromedia.com
 
Posts: n/a

Default Securing passwords and enhancing error messages - 08-02-2003 , 11:27 AM






Huge thanks to Gary White for advice on how to password protect pages. Now then, how do I get an alert box to open and/or a sound to play when the user hits go after entering the wrong password (instead of the HTTP 404 page loading)?

Also, is there a way to disable the View Source button in the users browser to stop anybody who reads java script from finding the password?

By the way was my last post blanked coz it had too many questions (inc' the above)? Was I showing bad form? I do scour forums I visit in an attempt to contribute something myself (only fair that) even a beginner like me will know something to help somebody.

Thank in advance,
Gene Stevo



Reply With Quote
  #2  
Old   
Gary White
 
Posts: n/a

Default Re: Securing passwords and enhancing error messages - 08-02-2003 , 12:50 PM






"gene-stevo" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Huge thanks to Gary White for advice on how to password protect pages. Now
then, how do I get an alert box to open and/or a sound to play when the user
hits go after entering the wrong password (instead of the HTTP 404 page
loading)?
Quote:
That would be Mick White that deserves the thanks. I may have pointed you to
his site.


Quote:
Also, is there a way to disable the View Source button in the users
browser to stop anybody who reads java script from finding the password?

No. That's one reason a client side solution is less secure that a server
side one.


Quote:
By the way was my last post blanked coz it had too many questions (inc'
the above)? Was I showing bad form? I do scour forums I visit in an attempt
to contribute something myself (only fair that) even a beginner like me will
know something to help somebody.
Quote:
Hmmm... I've seen a LOT of questions in a single post. Perhaps there was
some other problem.

Gary




Reply With Quote
  #3  
Old   
gene-stevo webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Securing passwords and enhancing error messages - 08-02-2003 , 01:48 PM



Acrually Gary it was Mick Webs site you sent me to. And very useful it was too, thanks again.
Any advice on the question of avoiding the HTTP404 error page?
I have a rather sexy womans voice that I'd like to play instead (a wav, not my voice...). Got it from Flashkit.com, what a great site, wish I new Flash .

That would still leave me the problem of getting it to play without open/download windows opening. I'm sure in a previous life I've had bleeps etc work on buttons without that problem so can't workout why my sound files now insist on being down loaded first.

I've spent sometime searching through old posts this pm and it seams you and your pals advocate using flash to play the sound. (I see your not a fan of mouse over sounds, neither am I but this is different). Any tips on how to do this in flash or a link to a small-words-tutorial?

If all else fails what about a wrong password triggering an alert box?
Thanks once more for all your help,
Gene Stevo.




Reply With Quote
  #4  
Old   
Gary White
 
Posts: n/a

Default Re: Securing passwords and enhancing error messages - 08-02-2003 , 02:20 PM



"gene-stevo" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Acrually Gary it was Mick Webs site you sent me to. And very useful it was
too, thanks again.
Any advice on the question of avoiding the HTTP404 error page?
I have a rather sexy womans voice that I'd like to play instead (a wav,
not my voice...). Got it from Flashkit.com, what a great site, wish I new
Flash .
Quote:
That would still leave me the problem of getting it to play without
open/download windows opening. I'm sure in a previous life I've had bleeps
etc work on buttons without that problem so can't workout why my sound files
now insist on being down loaded first.
Quote:
I've spent sometime searching through old posts this pm and it seams you
and your pals advocate using flash to play the sound. (I see your not a fan
of mouse over sounds, neither am I but this is different). Any tips on how
to do this in flash or a link to a small-words-tutorial?
Quote:

Sound is problemmatic and not completely reliable on the web. For something
of this nature, I think I'd stick to text. Flash is probably as reliable a
way to implement sound as there is. Personally, I hate Flash and don't even
have the player installed in anything except the rarely used MSIE. Flash
sound is perfectly quiet on my machine. ;-)


Quote:
If all else fails what about a wrong password triggering an alert box?
Thanks once more for all your help,

I'm not totally familiar with Mick's code. If I recall, it uses the page
name as the password. That way you can avoid putting the password in the
page's code. However, I think that anything you put in the page to prevent
the 404 page will be a dead give away as to getting the correct login info.
You could design a custom error page for the 404 error, but that's about the
only thing that comes to mind. If you're on an Apache server, you could set
up your password protected area in a particular directory and use an
..htaccess file to implement a special 404 error page for only that
directory.

Gary




Reply With Quote
  #5  
Old   
gene-stevo webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Securing passwords and enhancing error messages - 08-02-2003 , 03:46 PM



Thanks for that Gary, I thought it would end up as yet another of those occassions where my asperations exceed my skills.
Think I'll get myself some up-to-date books. And have another go at reading instead of stumbling!
TTFN,
Gene Stevo.



Reply With Quote
  #6  
Old   
Gary White
 
Posts: n/a

Default Re: Securing passwords and enhancing error messages - 08-02-2003 , 05:07 PM



"gene-stevo" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks for that Gary, I thought it would end up as yet another of those
occassions where my asperations exceed my skills.
Think I'll get myself some up-to-date books. And have another go at
reading instead of stumbling!
TTFN,

Good luck, Gene. Don't let it scare you off. The server side stuff is not
that difficult and is much more reliable and flexible than any client side
solutions.

Gary




Reply With Quote
  #7  
Old   
mick_white
 
Posts: n/a

Default Re: Securing passwords and enhancing error messages - 08-02-2003 , 08:05 PM



see below

"\"gene-stevo\" webforumsuser"@macromedia.com wrote:

Quote:
Huge thanks to Gary White for advice on how to password protect pages. Now then, how do I get an alert box to open and/or a sound to play when the user hits go after entering the wrong password (instead of the HTTP 404 page loading)?
This can be done, but it is a little longwinded.

Quote:

Also, is there a way to disable the View Source button in the users browser to stop anybody who reads java script from finding the password?
The password is not visible or discernible in the HTML source.
Mick of mickweb.

Quote:

By the way was my last post blanked coz it had too many questions (inc' the above)? Was I showing bad form? I do scour forums I visit in an attempt to contribute something myself (only fair that) even a beginner like me will know something to help somebody.

Thank in advance,
Gene Stevo


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.