简体   繁体   中英

secure adobe air html/javascript code

I would like to develop desktop application with adobe air. but I am worried about html/javascript source code security.

Application has paid media content and I would not like to expose urls.

How can I secure source code?

I don't feel like anyone will be able to answer your question, because what you are asking for is not good practice. What you are trying to do is basically security through obscurity . You are hoping you will be more clever than any malicious users who download your app, and none of them will be able to figure out where you hide the stuff that is executing on their computers.

The United States National Institute of Standards and Technology (NIST) specifically recommends against security through obscurity in more than one document. Quoting from one, "System security should not depend on the secrecy of the implementation or its components." -source

No matter what measures you take to obscure a URL, if the site is going to be visited on a computer where the user has physical access, it will be vulnerable.

Depending on what language your server software is written in, you can implement something like user accounts/roles . If you have a question about how to do that, you should give it a fair shot, and post another question if you come up with one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM