Expand my Community achievements bar.

Send data to servlet with Flex

Avatar

Level 1
Dear Everyone,

I have a Flex app which needs to report usage data (pages
clicked, buttons used , etc ..) to a servlet. However, I have no
way of knowing if the data sent to the servlet is from my Flex app
or some malicious entity. Is there a way I can tell if the data
being sent to my servlet is somehow "authenticated" or restricted
to my Flex app.



Sincerely,

JDallas
2 Replies

Avatar

Level 2
most servers have the ability to restrict access by domain.
just google for "<your server name> restrict access by
domain"

Avatar

Level 1
Dear Mr. Yang,

Thank you for your repsonse. My idea of how flex worked must
have been wrong. Here is what my thinking was. I write a flex app
and deploy it on server A. A user on computer/domain B uses my flex
app on server A. Because my app reports data, the servlet on server
C would be receiving data from server B (the user's domain) instead
of from server A.