Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Target URL as username or password

    Hoping someone can help a simple soul!!

    I am trying to work out if there is a way that I can use a target url as a simple password (or even username) at a log in screen.

    Essentially I want to be able to send people to a different URL depending on their login details but without having to do anything too complicated or secure.

    Hoping someone can help

    Thanks in advance!

  • #2
    Regular Coder
    Join Date
    May 2009
    Posts
    425
    Thanks
    3
    Thanked 62 Times in 61 Posts
    Is the URL on the same server/domain?

    And why on earth would you not want it to be secure? I hope you don't plan on having any sensitive data accessible by whatever method you're concocting!
    I'm the founder of Loggur, a place to build and share web apps focused on maximizing efficiency and productivity:
    http://www.loggur.com

    My personal site and blog:
    http://www.tfburgess.com

  • #3
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tfburges View Post
    Is the URL on the same server/domain?

    And why on earth would you not want it to be secure? I hope you don't plan on having any sensitive data accessible by whatever method you're concocting!
    Yeah the url is on the same server.

    It doesn't need to be secure because it is literally a unique page to individuals responding to an invitation

  • #4
    Regular Coder
    Join Date
    May 2009
    Posts
    425
    Thanks
    3
    Thanked 62 Times in 61 Posts
    Are you using a serverside scripting language or do you want to do this entirely with javascript? If users are able to log in and all that, your best/quickest bet would be to use the session information which usually includes user details and is accessible through the serverside scripting as it is used for logging in... and you'd probably just want to use a form to submit the RSVP via POST data as it would be more secure and less of a hassle than generating unique keys for each user. (You would only check the user info directly within session.)

    If not, and if you want to really want to do this entirely with javascript... well, that really depends on how you're sending out these invitations and handling each RSVP.
    I'm the founder of Loggur, a place to build and share web apps focused on maximizing efficiency and productivity:
    http://www.loggur.com

    My personal site and blog:
    http://www.tfburgess.com

  • #5
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    no I am trying to come up with a really simple javascript option rather than any server side scripting. Basically I am generating pages using peoples names with individual imagery, so the password can be the same (not that they will know that - and it is more for the 'illusion' of security than anything else) for every page and the username is the same as the page name.

  • #6
    Regular Coder
    Join Date
    May 2009
    Posts
    425
    Thanks
    3
    Thanked 62 Times in 61 Posts
    What makes you think javascript would be easier than serverside scripting?

    And how are you generating the pages with people's names, images, etc.?
    I'm the founder of Loggur, a place to build and share web apps focused on maximizing efficiency and productivity:
    http://www.loggur.com

    My personal site and blog:
    http://www.tfburgess.com

  • #7
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,366
    Thanks
    11
    Thanked 590 Times in 571 Posts
    if you just use random file names on html files, you can get decent short-term security with no server-side code.

    just send bob a link to 34563453.html, mary a link to 73573432.html, and fred a link to 754673343.html...


    the other related option would be to have script files named like above, and use the url to point to particular script fiel for each user. the script file points to the correct image and password verification info...
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.6, IE11:9.1, IE9:3.1, IE10:3.0, FF:17.2, CH:46, SF:11.4, NON-MOUSE:38%


  •  

    Posting Permissions

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