Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php]blokada dostepu do pliku
Leeddo
post
Post #1





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 27.10.2007

Ostrzeżenie: (0%)
-----


witam
mam na stronie gre we flashu, zrobilem szyfrowanie swf'a itd. ale mimo wszystko chcial bym powstrzymac wscibskich od pobierania/ogladania surowego pliku swf.

generalnie chcial bym zeby swf byl dostepny tylko jesli skrypt o niego poprosi... cos na zasadzie include swf a w htaccess dany from all .
czy jest to w ogole wykonalne ? jesli tak to prosze o jakies sugestie (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)

pozdrawiam
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Leeddo
post
Post #2





Grupa: Zarejestrowani
Postów: 13
Pomógł: 0
Dołączył: 27.10.2007

Ostrzeżenie: (0%)
-----


udalo mi sie wczytac poprawnie swfa

  1. <param name="movie" value="<?PHP echo "test.php";?>" />
  2. <embed src="<?PHP echo "test.php";?>"


test.php
  1. <? 
  2. header('Content-type: application/x-shockwave-flash');
  3. readfile('php/gra.swf');
  4. ?>


co do dekompilowania to bym polemizowal
Kod
// Action script...

// [onClipEvent of sprite 51 in frame 6]
onClipEvent (enterFrame)
{
     function ()
     {
         \x03 = 202 % 511 * 5;
         return (eval("\x03"));
     } // End of the function
     var \x01 = -827 + \x04\x05();
     while (\x01 = eval("\x01") + 211, eval("\x01") == 61)
     {
         \x01 = eval("\x01") + 163;
         break;
     } // end while
     if (eval("\x01") == 188)
     {
         \x01 = eval("\x01") + 355;
        
     } // end if
     \x01 = eval("\x01") + 510;
     var null = true;
     if (eval("\x01") == 224)
     {
         \x01 = eval("\x01") + 311;

tak wyglada moj zaszyfrowany swf w dekompilatorze wiec raczej kiepsko widze wartosciowe dekompilowanie czegos takiego na dzien dzisiejszy (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 10.10.2025 - 16:48