2012/7/26 Pablo Tejada <[email protected]>:
> I have not tried it myself, but theoretically i think is possible. You
> register a command hook to connect like in here
>
> http://www.ape-project.org/docs/server/commands/registerhookcmd.html
>
> Then use the host and http headers in the info variable as detailed here
>
> http://www.ape-project.org/docs/server/commands/registerhookcmd.html
>
> So basically you would have a whitelist of domains which you could
> test the request's domain with.
>

Yeah!
 Pablo the best APE user!!!

>
>
> Sent from my iPhone
>
> On Jul 26, 2012, at 4:52 PM, Michele Vezzoli
> <[email protected]> wrote:
>
>> 2012/7/26 Pablo Tejada <[email protected]>:
>>> You can also play with hooks on the connect command
>>> (Ape.registerCmdHook("connect"), that is the command that starts it all. You
>>> check at the requests headers and check for the domain the request is coming
>>> from.
>>
>> How can do this?
>>
>> --
>> ________________________________
>> Michele Vezzoli   IT Manager
>>
>> TEL: +39.030.5230600  MOB: +39.328.0555322   FAX: +39.030.5230600
>> SKYPE: michele.vezzoli.vardump
>> VarDump S.r.l. - www.var-dump.it
>>
>> This e-mail message does not imply or cause any obligation, unless it
>> is provided by a previous written agreement. This message is
>> confidential: if you have received it by mistake, please advise
>> immediately the sender by e-mail and destroy the message and its
>> attachments. You are hereby notified that any unauthorized use of the
>> content of this message could constitute a criminal offence. Thank
>> you.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "APE Project" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/ape-project?hl=en
>> ---
>> APE Project (Ajax Push Engine)
>> Official website : http://www.ape-project.org/
>> Git Hub : http://github.com/APE-Project/
>
> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/



-- 
________________________________
Michele Vezzoli   IT Manager

TEL: +39.030.5230600  MOB: +39.328.0555322   FAX: +39.030.5230600
SKYPE: michele.vezzoli.vardump
VarDump S.r.l. - www.var-dump.it

This e-mail message does not imply or cause any obligation, unless it
is provided by a previous written agreement. This message is
confidential: if you have received it by mistake, please advise
immediately the sender by e-mail and destroy the message and its
attachments. You are hereby notified that any unauthorized use of the
content of this message could constitute a criminal offence. Thank
you.

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to