In near future i'm going to develop a flash media server application when i'm asp.net developer. Currently i'm in research how i do things i need to. Basically i have two questions.
1.What is the secure method to write your application? In external .as files which cannot be accessed by IIS but the source code will be seen or just to compile full .swf with code and then use some external tool that encrypts whole file ie. Amayeta SWF Encrypt.
2.Probably i'm going to send secure data from client to server and responses from server to client, so client will have the source file which he can use to track down requests and responses so little bit of reverse engineering and he could trigger his own rules. What best way to avoid these things from your experience ? Maybe i should keep only parts i must to have in Flash and with the rest to deal using ASP.NET ?