28, May 2012

Php & Flash - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Php & Flash
« previous next »
Pages: [1] Print
Instabuck - The easy way to sell digital products online

Author Topic: Php & Flash  (Read 2025 times)
What a dork
*
Posts: 16
116 credits
Members referred : 1


« on: Jul 03, 2006, 04:00:45 pm »

I have a flash which will call a php script.
Whats the best way to make this script can be accessed only from flash ?
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #1 on: Jul 03, 2006, 04:53:49 pm »

Check the $_SERVER['HTTP_USER_AGENT'] that flash sends and allow only this.

If flash don't send a user agent header, then you propably can't do much.

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
What a dork
*
Posts: 16
116 credits
Members referred : 1


« Reply #2 on: Jul 03, 2006, 05:01:15 pm »

This server var returns "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)".
There is another server var HTTP_X_FLASH_VERSION which return the version of flash player "8,0,22,0".
But if i develop a application with a browser object i will send this var to php script. So this script isn't secure.
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #3 on: Jul 03, 2006, 05:05:16 pm »

Yeah that's true.

Then there is nothing that you can really do except some checks with the session(but this can give you other troubles).

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Jul 03, 2006, 10:46:36 pm »

You can do something while checking a the php session id and maybe this is something for you:
http://www.ghostwire.com/go/28

or

http://www.amfphp.org/

but Nick is right, since every flash movie is a local application you can't do very much. I saw application using xml/soap requests for "safe" interacting and I saw somewhere a md5 javascript encryption (but missed the URL). The last one could be the magic...

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #5 on: Jul 04, 2006, 10:31:30 am »

For the md5 javascript code you can check a vbulletin forum (eg. gibberishtalk.com)

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #6 on: Jul 04, 2006, 10:47:31 am »

For the md5 javascript code you can check a vbulletin forum (eg. gibberishtalk.com)

Yes if you have this javascript function it's possible to use them together with some action script...

I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 5799
46391 credits
Members referred : 3



« Reply #7 on: Jul 04, 2006, 11:20:05 am »

For the md5 javascript code you can check a vbulletin forum (eg. gibberishtalk.com)

Yes if you have this javascript function it's possible to use them together with some action script...

Of course you should allways have in mind that a flash file can be easilly reversed....

Trial and Error my two best teachers Cool
Join us @ facebook or twitter

Last blog : Butterfly Marketing 2.0
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3118
Tags : javascript forums vBulletin encrypt browsers Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: Php & Flash
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:48:28 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.