开发者

Flash Security help needed

开发者 https://www.devze.com 2022-12-30 19:12 出处:网络
I am developing a player and i want to make it for only one domain usage for one download. If user needs again then again hew needs to download another version from my site. How can i make it. Please

I am developing a player and i want to make it for only one domain usage for one download. If user needs again then again hew needs to download another version from my site. How can i make it. Please some one开发者_JAVA百科 tell me


You have to create a key. a fancy hash of their domain name would do the trick, when a user downloads your app - they enter the domain name and receive a key. OR you can add it to your own databse and ensure your application checks the key everytime the player is run. That way you can see where the app is running from.

If they try to use the player on a domain that is not in your database, or the key does not work - the application can be killed.

So: domain name hash (maybe md5 twice), this is given to the user to add to a config OR you save it and the player talks to your server.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号