How should my main web application (A) securely retrieve data from my content storage web applicatio
Posted
by fonacule
on Stack Overflow
See other posts from Stack Overflow
or by fonacule
Published on 2010-04-04T18:38:07Z
Indexed on
2010/04/04
18:43 UTC
Read the original article
Hit count: 173
security
|web-applications
I have two web applications (A) and (B).
(A) is my primary web application.
(B) is purely for content storage, such as file uploads by users of (A).
What's best way to securely retrieve data from (B) into (A) but in a way that does not expose the data in (B) to potential discovery by third-parties over the public internet or nosy users of (A)?
For example, if I use a HTML form POST from (A) to (B) to retrieve user data, and have a hidden form field called user_id=1
, then someone could simply change this to user_id=2
and see the content owned by another user of the application. That would be a problem.
© Stack Overflow or respective owner