Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 143
  • Last Modified:

security issue. probably easy question.

i have developed some flash interactive game, which comunicates with php script and sends some parameters to php script (like username, results etc). This i think isnt secure enough, so i would like to raize its security by getting URL from file that sends commands to php script. If i can determine somehow where is located flash movie that sends parameters and asks answer i can easy reject any response if i get request from some other location.

Anyone knows how can i get this info?

thanks in advance.

P.S.DO you think these thoughts are in right direction? Any other idea for improving this kind of security?
1 Solution
technically, the "URL from file that sends commands to php script" is what HTTP calls HTTP_REFERER, and there is a server variable of that name alongside with REMOTE_ADDR and such

I think post method is secure enough you can enhance the security as VGR says by getting the HTTP_REFERER as you know what the url of the flash file so you can check in the called php file and confirm that the referer is correct or not

not every client sends a HTTP_REFERER so you can not use this.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now