Results 1 to 6 of 6

Thread: For Security reasons, what is a pw protected url and what does it do?

  1. #1

    For Security reasons, what is a pw protected url and what does it do?

    what is a password protected url and what does it do?

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    380
    It is an URL that will popup a password form to ask for your password when you try to visit the site.
    [shadow]Scorp666, the Infamous Orgasmatron[/shadow]

  3. #3
    AntiOnline Senior Member souleman's Avatar
    Join Date
    Oct 2001
    Location
    Flint, MI
    Posts
    2,883
    Yup, and it keeps you from visiting that page unless you know the password. Can be done with php, java, javascript, vbscript, cgi/perl, or asp.
    \"Ignorance is bliss....
    but only for your enemy\"
    -- souleman

  4. #4
    Leftie Linux Lover the_JinX's Avatar
    Join Date
    Nov 2001
    Location
    Beverwijk Netherlands
    Posts
    2,534
    or the well known
    .htaccess files

    combined with some passwd file with MD5 encrypted paswords
    ASCII stupid question, get a stupid ANSI.
    When in Russia, pet a PETSCII.

    Get your ass over to SLAYRadio the best station for C64 Remixes !

  5. #5
    Senior Member
    Join Date
    Jan 2002
    Posts
    682
    it should be noted that client side pwds are not secure...javascript pwd can offer a minimal set of protections but you really need server sided validation for real pwd protection....

    i have seen a lot of "password protected" sites which use javascript and all they require to defeat them is view source and a wee bit of messing about...

    one of the things i love about coldfusion is the relative simplicity of of password protecting your site...

    it uses what they call the web application framework which consists of one file, called application.cfm which is read with every coldfusion page request (any file with a cfm extension) this makes it so easy to set up some code which handles page validation for every page you want protected..

    <cfif application.isvalidated eq true>
    Come on in!!!
    <cfelse>
    go away!
    </cfif>

    that's all it takes...

    you can also set different access levels

    <cfif application.isvalidated eq true and application.accesslvl=1>
    Come on in to level one!!!
    <cfelseif application.isvalidated eq true and application.accesslvl=2>
    You get to see level 2 !!!
    <cfelse>
    go away!
    </cfif>

    simple good...
    I used to be With IT. But then they changed what IT was. Now what I'm with isn't IT, and what's IT seems scary and weird." - Abe Simpson

  6. #6
    thanx a lot guys

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •