PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.info.authoring.html > "force" user to use site in defined order?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
"force" user to use site in defined order?

Réponse
 
LinkBack Outils de la discussion
Vieux 01/04/2008, 14h15   #9
Geoff Cox
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "force" user to use site in defined order?

On Tue, 01 Apr 2008 06:54:05 +0100, Geoff Cox <gcox@freeuk.notcom>
wrote:

Thanks everyone for the useful comments - will work through them now.

Cheers

Geoff
  Réponse avec citation
Vieux 02/04/2008, 23h05   #10
Thomas 'PointedEars' Lahn
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "force" user to use site in defined order?

Ben Bacarisse wrote:
> Geoff Cox <gcox@freeuk.notcom> writes:
>> On Tue, 01 Apr 2008 06:04:36 GMT, "rf" <rf@invalid.com> wrote:
>>> "Geoff Cox" <gcox@freeuk.notcom> wrote in message
>>> news:h3j3v315jrg4ttj011l8r0ajodatgasaas@4ax.com...
>>>> I am preparing a site where it is important that the user moves from
>>>> page 1 to page 2 to page 3 etc as a series of tests are presented and
>>>> the order is important.
>>>>
>>>> Is it possible to make sure that this happens?!
>>> No.

>>
>>> Make the all the same page and control the content server side, probably
>>> with a session.


Full ACK.

> [...]
> You store a on the client side. Your server displays page one
> if the is missing. Page one sets the to show that page
> 1 has been seen. The "next" button just re-loads the page but now the
> server will show page 2. Rinse and repeat.
>
> If are not acceptable, you can do this with form data.


are as susceptible to a forging attack as is form data.
http://getfirebug.com/ and see how easy it actually is.


PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
  Réponse avec citation
Vieux 03/04/2008, 00h19   #11
Ben Bacarisse
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "force" user to use site in defined order?

Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:

> Ben Bacarisse wrote:

<snip>
>> If are not acceptable, you can do this with form data.

>
> are as susceptible to a forging attack as is form data.
> http://getfirebug.com/ and see how easy it actually is.


Of course. I never suggested otherwise.

--
Ben.
  Réponse avec citation
Vieux 03/04/2008, 01h03   #12
Thomas 'PointedEars' Lahn
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "force" user to use site in defined order?

Ben Bacarisse wrote:
> Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:
>> Ben Bacarisse wrote:

> <snip>
>>> If are not acceptable, you can do this with form data.

>> are as susceptible to a forging attack as is form data.
>> http://getfirebug.com/ and see how easy it actually is.

>
> Of course. I never suggested otherwise.


IBTD. Did you or did you not suggest that storing or form data
would be a way to "'force' [a] user to use [a] [Web] site in [a] defined order?

I have disproved that.


F'up2 comp.infosystems.www.authoring.misc

PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
  Réponse avec citation
Vieux 03/04/2008, 09h59   #13
Chris Morris
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "force" user to use site in defined order?

Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:
> IBTD. Did you or did you not suggest that storing or form
> data would be a way to "'force' [a] user to use [a] [Web] site in
> [a] defined order?
>
> I have disproved that.


Either will work if the right measures are taken.

1) Generate a global encryption key for the application.

2) When the user arrives at page 1, encrypt '1' together with a unique
identifier for the user, and set it as a or hidden form
field. Send the unique identifier unencrypted as well.

3) When the user arrives at page 2, decrypt the or hidden form
field and check that it contains '1' and the unique identifier. If
it doesn't, redirect to page 1. If it does, generate a new one
containing '1,2'.

4) Repeat as needed for future pages, alternative branches, etc.

While the user can obviously send whatever form or data they
like back to the server, the server has a straightforward way to
validate that the 'previously visited' data is data that it generated
(up to the security of the key and encryption algorithm, of course)
and reject modified data.

The unique identifier is to stop someone finding out what the
encrypted value of '3' is for a particular application and jumping
straight to page 3. You could alternatively generate a unique
encryption key for each user.

--
Chris
  Réponse avec citation
Vieux 03/04/2008, 11h40   #14
Ben Bacarisse
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "force" user to use site in defined order?

Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:

> Ben Bacarisse wrote:
>> Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:
>>> Ben Bacarisse wrote:

>> <snip>
>>>> If are not acceptable, you can do this with form data.
>>> are as susceptible to a forging attack as is form data.
>>> http://getfirebug.com/ and see how easy it actually is.

>>
>> Of course. I never suggested otherwise.

>
> IBTD. Did you or did you not suggest that storing or form data
> would be a way to "'force' [a] user to use [a] [Web] site in [a]
> defined order?


What has that got to do with it? I did not suggest that were
any less susceptible to being "forged" and you seemed to think I had.

> F'up2 comp.infosystems.www.authoring.misc


The usual practice is to set a followup-to header in order to limit
the discussion to more suitable groups. You seem to have just added
comp.infosystems.www.authoring.misc. Why do you think more people
want to see this?

--
Ben.
  Réponse avec citation
Vieux 14/04/2008, 13h47   #15
Thomas 'PointedEars' Lahn
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "force" user to use site in defined order?

Ben Bacarisse wrote:
> Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:
>> Ben Bacarisse wrote:
>>> Thomas 'PointedEars' Lahn <PointedEars@web.de> writes:
>>>> Ben Bacarisse wrote:
>>> <snip>
>>>>> If are not acceptable, you can do this with form data.
>>>> are as susceptible to a forging attack as is form data.
>>>> http://getfirebug.com/ and see how easy it actually is.
>>> Of course. I never suggested otherwise.

>> IBTD. Did you or did you not suggest that storing or form data
>> would be a way to "'force' [a] user to use [a] [Web] site in [a]
>> defined order?

>
> What has that got to do with it? I did not suggest that were
> any less susceptible to being "forged" and you seemed to think I had.


No, I said that one approach (that you dismissed) is as suspectible to a
forging attack as the other one (that you mentioned as a proper
replacement). That is quite a different thing.

>> F'up2 comp.infosystems.www.authoring.misc

>
> The usual practice is to set a followup-to header in order to limit
> the discussion to more suitable groups. You seem to have just added
> comp.infosystems.www.authoring.misc. Why do you think more people
> want to see this?


Temporary malfunction on layer 8 in interaction with layer 7.

Interestingly, you forgot to set the Followup-To header as well, so I guess
we are even now


F'up2 ciwam

PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
  Réponse avec citation
Vieux 20/04/2008, 12h40   #16
Stanimir Stamenkov
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "force" user to use site in defined order?

Tue, 01 Apr 2008 14:15:07 +0100, /Geoff Cox/:

> Thanks everyone for the useful comments - will work through them now.


Just wanted to point out there are frameworks which can manage the
thing for you, like the "Seam conversations":

http://docs.jboss.com/seam/2.0.1.GA/...l.html#d0e1568

But using specific framework may not be applicable, often.

--
Stanimir
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h43.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14195 seconds with 16 queries