prevent people from using a modified local swf

1 posts, 0 answers
  1. Musika
    Musika avatar
    1 posts
    Member since:
    Sep 2017

    Posted 01 Sep 2017 Link to this post

    Hi,

    Example, I have a swf file (original) who it loads on a page: www.mysite.com/blabla.swf

    Some people use software this great software to load a modified local swf to cheat.
    I would like to prevent people from using a modified local swf.
    Do you think that this code will solve the problem?
    1) create a condition in the htaccess : /blabla.swf shows the content of blabla.php
    blabla.php :

    header("Cache-Control: no-cache, must-revalidate, no-store\nPragma: no-cache\n");
    header("Content-type: application/x-shockwave-flash");
    readfile("blabla_secure.swf");
Back to Top