Ask HN: Flex/Flash, Authenticating your .swf + decompiling

https://news.ycombinator.com/item?id=250289
by arjunlall • 18 years ago
9 11 18 years ago

In a nutshell, we are developing a web app where our app and flex fontend need to share data securely. The problem is that our application server needs to know that the requests we are getting from our flex application are not spoofed.

Right now we essentially have a secret key that is hashed with request data to authenticate the flex app.

Problem is, how do we keep the secret key in the flex app code without someone able to snag it by decompiling? I can think of a million ways to obscure the key into the code, but that only will delay a break in, not stop it.

It seems impossible for there to be any secure cryptographic system if an intruder can see the source.

Is there any good way to actually secure flex from getting decompiled? From what I have seen everything just obscures code.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com