...

View Full Version : Target URL as username or password



confused&alone
07-07-2011, 03:59 AM
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!

tfburges
07-07-2011, 06:42 AM
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!

confused&alone
07-07-2011, 06:46 AM
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

tfburges
07-07-2011, 07:07 AM
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.

confused&alone
07-07-2011, 07:37 AM
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.

tfburges
07-07-2011, 05:52 PM
What makes you think javascript would be easier than serverside scripting?

And how are you generating the pages with people's names, images, etc.?

rnd me
07-07-2011, 09:40 PM
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...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum