Asp.net :: Securing Web Services To Be Consumed From Flash?

Oct 18, 2010

my team is building a game in flash to be embeded in a asp.net application.When the game is over the player have the chance to type his name to save his score.This is done using web services called from flash. The webservice receives the name and score.Since the webservice is publicly available how can I make it only callable from my flash given the following conditions:The .swf is hosted by the same asp.net application There are two domains that can access the same application (I have run previously into cross domain issues).Using SSL is not an option. The webservice has to be consumed by the .swf file.

View 1 Replies


Similar Posts:


.net :: Create WCF Services That Can Be Consumed By Flash?

Jul 22, 2010

I'm a beginner in WCF, which I have chosen instead of Web Services because all articles and blogs I've read seem to point out that ASMX is old news.I have read a bit about the differences between old Web Services and WCF, and I got the general idea. I also took the MSDN WCF tutorial which seemed simple enough.My problem is that I want to create WCF services that can be consumed by Flash. I've read that it's doable everywhere, but with no obvious A-Z tutorial on how to proceed with the server-side and client-side...

View 2 Replies

Flash :: Securing .net Web Services For Flex / AIR Applications

Oct 15, 2009

What would be the best way to secure .net web services used by a flex application (both desktop and browser) that requires login? I thought about requesting the user and password in every method of the web service, and having them stored as variables in the flex app, but I don't feel like this is the most elegant way.

View 2 Replies

ActionScript 3.0 :: Securing SWF From Being Downloaded

Jun 23, 2010

I have a question how can I secure my flash website (*swf) for being Downloaded??

View 2 Replies

ActionScript 3.0 :: Securing SWF So It Will Only Run On A Particular Domain

Apr 9, 2010

I am using AS3 for a flash project I am working on. What I would like to do is secure the SWF so it will only run on a particular domain. If it possible to do this? to make sure it only runs when it is served from [URL]?

View 3 Replies

Media Server :: Securing Publishing To FMS 3?

Dec 21, 2009

I have a FMS 3 in on a linux server and I have a ViewCast Niagara Pro II encoder.  I can publish to the FMS 3 no problem but how to I limit who can publish to the server, because currently I can use the free Adobe Media Encoder to connect to the server and publish with no authorization which tells me anybody could do the same if they just input the rtmp url and feed name.

View 29 Replies

Javascript :: Securing A Client-side API

Apr 27, 2011

I'm building a server-side API and client-side library for a JavaScript-based game where two very important features must be secured. A user must be debited for each play We must ensure that the score that gets submitted is the actual earned score by the player. Solving the first problem seems simple; at the beginning of each play we hit the API, debit the user's account and return a unique Play ID. When we submit the user's score for that play, we pass the ID issued at the beginning.

The second one has me a little stumped. Initially I considered a client-side hashing algorithm based on the ID and the score, but quickly realized that the Javascript that produces the hash could easily be reverse-engineered, even if it was obfuscated. At this point I considered a small flash component that generates the hash, but I've heard that even compiled flash can be decompiled.

[Code]...

View 5 Replies

Php :: Securing Flex App On Shared Hosting

Oct 20, 2011

I finished a Flex app using FB4.5 and uploaded and tested it fine to a shared host. I'm now in the process of securing the app using https, but have landed in a quagmire.I forced the load of all pages to https with .htaccess so that the Flex app loads with SSL. Problem is that I get a connection failed ('BadVersion') when the app makes a data service call using the gateway.php file because of the .htaccess force (it is looking for http rather than https). I believe I can hardcode the https path in the Flash Builder class file, but I don't want prevent the app from working on my dev machine either.Also, even if the gateway.php file is called using SSL, will the following calls to the PHP files containing the actual SQL queries fail because of the forced SSL by the .htaccess directives.

Instead of using .htaccess, I have also successfully used PHP to secure the initial launch of the app with a https redirect statement in the beginning. This allows the app to work, calling the gateway.php file fine because it isn't forcing https on everything. BUT, this defeats the purpose of trying to get everything to be encrypted.Is is it necessary to have the gateway.php file launched on SSL because of transmitting in binary AMF?

View 1 Replies

Media Server :: Securing RTMP Streams For IOS Devices?

Feb 28, 2012

I am having an application where I stream videos through RTMP using FMS and the sample vod application. I am securing RTMP streams using domain/swf security on server side. I need to stream videos to iOS devices and secure the videos. How can I do that?

View 1 Replies

Flash :: Use Network Services For FDT?

Apr 22, 2010

I've recently started using FDT, for a while I was using FlashDevelop, it had a really handy feature in Compiler options where you can set UseNetworkServices to false which would stop the compiled swf from connecting to the internet and became very useful for running standalone flash apps without security warnings when loading in an external xml file etc.

View 1 Replies

Prototyping In Flash - Using JSON For Web Services?

Mar 19, 2011

I know most people hate 100% flash-based websites, but I was recently forced to use flash for a college assignment. After creating a fully-featured ria in less than 2 weeks with every feature I could imagine, i've regrettably fallen in love with this beast (which I previously refused to touch with a stick) due to the power of AS3 and the ability to sprinkle it everywhere :-

I now want to port a commercial desktop application of mine (which has been largely unsuccesful) to the web and feel flash/flex is an excellent candidate. While creating a html/css/js version would be ideal (working browser shortcuts, for a start), i'm certain it'll take a year to create in cross-browser html/css/js what would take just ~3 months in flash. Obviously as the (paid) desktop product was unsuccessful, i'd want to minimize the risk/investment in the (free) web application.

I plan on using JSON for web services, so it shouldn't be a huge pita to port in the future.Is this a good strategy for launching a web app you're not yet 100% committed to? Or will the fact i'm using flash doom me from the start? Has anybody else done this? If so, how did your userbase respond to the 100% usage of flash, and did you get around to porting it to standard web technologies?

View 1 Replies

ActionScript 3.0 :: Does Flash Web Services Allows Https:// Over HTTP

Jun 17, 2009

Does flash web services allows https:// over http ?

View 5 Replies

Data Integration :: Connect Web Services To Flash?

Jul 12, 2009

how to connect web services to flash

View 2 Replies

Flash :: Simplifying Flex Deployments In Services-config.xml?

Jan 26, 2010

I am using Flex/Flash to build a UI which front-ends my Rails server application. I am using WebORB as the communication mechanism. My question should apply beyond just WebORB, however. (I think).

Specifically, it has to do with the services-config.xml file. I have a local (laptop) dev environment, a remote dev and a remote production environment. I am sick of editing the URL in the services-config.xml file, rebuilding and deploying every time I want to test in a different environment.

[Code]...

By setting the URI="/weborb" and giving it a relative path, I figured it would work. locally--but it doesn't when I deploy it to my remote dev and prod environments (Heroku). Weird.

View 2 Replies

ActionScript 2.0 :: Web Services Connector Only Works In Flash Player 7

Sep 11, 2006

I am using the web services connector but it only works if I set the publish settings to compile for Flash Player 7 or above and I need my movie to run on version 6. The web services connector should work from version 6 and I have used it before and published for v6 but for some reason the movie will publish without an error but the web service won't trigger. If I change the settings to publish for version 7 or 8 then it works fine. Here's my code if it's any help:

ActionScript Code:
import mx.data.components.WebServiceConnector;
var webServiceURL:String = "http://myurl.com";
var wSCheckConnection:Object = new Object();

[Code].....

View 1 Replies

Flash :: Setting Up Amazon Web Services Media Interactive Server

Apr 24, 2011

I've been trying to set up an instance of Flash Media Interactive Server on Amazon Web Services for an AVChat (avchat.net). I signed up for the service here:[URL] I have some simple questions on getting it started --- namely: do I create the FMIS instance myself now that I've signed up, or do I need to go ahead and create it? I see under the EC2 tab I can create an instance under 'Community AMIs' for adobe-flashmediaserver-useast/fms-4.0.1.8011-centos-5.5-ami-1.manifes t.xml Is this what I want? I realize this is a bit of a noob question.

once installed what I'm trying to do is to add a folder for AVChat into /opt/macromedia/fms/applications/ ([URL]). I am assuming that once I do have this instance running, I can move/modify files on the server instance.

View 7 Replies

Flash :: Required On Adobe Media Server On Amazon Web Services

Oct 28, 2011

I have just started using Adobe Flash Media Server on Amazon Web Services. Does anyone know how can I monitor server statistics such as the number of active connections? I have connected using SSH to the server but I cannot know what to do from this point on?

View 1 Replies

Actionscript :: Flash RemoteObject Weborb Connection Without Services-config.xml ?

Nov 12, 2009

Context : I'm working on a Flash application developed with FDT and compiled with Flash CS4 (I need a huge library). It should connect to various Weborb services.Weborb is properly configured. My services are properly executed, and values returned, via the management console. Weborb examples as well as various tests compiled with Flex are fully functionnal.

Problem : when I try to adapt the code to compile with Flash, and setup the remote object like this :

var remoteObject = new RemoteObject();
remoteObject.destination = "GenericDestination";
remoteObject.source = "MyServices.MyService";[code]....

Question: how to properly setup a RemoteObject to connect to a Weborb remoting service from a Flash application compiled with Flash ?

View 2 Replies

Flash :: Flex - Have Any Free Media Services For Testing Project

May 21, 2010

I am using FMS. But I use this only in locally. Are there any free flash media server services to test my project?

View 1 Replies

Actionscript 3 :: Reason Flash Doesn't Respond On Local Zend Amf Services?

Dec 25, 2011

I've (actually my classmate) got a problem with loading local ZEND_AMF services on Windows 7 (XAMPP). I can't find any answer on Google or on Stackoverflow. I found one similar topic without any answers: ActionScript 3 AMF Zend fails silentlyLet me describe the problem: I've developed the UI and dataloading for a Memory(matching) Game in FLASH CS5. The games uses data from an ZEND Framework website (you can add levels/cards/images there).[code]Everything works fine on my Macbook Pro (Using MAMP as local server), but a classmate (who's helping with it) of me that is using a Windows 7 laptop with XAMPP doesn't see anything. We're both using Flash CS5.5.For some reason his Flash isn't able to load local services. When he uses the same URL path like me Flash doesn't do anything in the responder. No Error function call and No Complete function call. We've been searching for the cause and tried several things.In a ZEND_AMF tutorial on the Internet we've found an online AMF Service and put that in the code. Of course we're using a nonexisting service function so the responser will call the Error function. And yes, this works. He runs the function returnError(). The cause of this problem is obvious: Flash on my classmates PC (using XAMPP) won't load local services. Allowing swf to correspond with non-local URLs (is an option where you have to add your swf to the Flash settings) => Has happened

View 1 Replies

Actionscript 3 :: SOAP Web Services In Flash Builder 4.5 Won't Accept A String With Spaces Or Quotes

Oct 7, 2011

When using SOAP web services in Flash Builder, I am able to use the web services tool and test making service calls without any issue.I can pass strings that contain spaces, double and single quotes with great success. when I write code to send a string containing spaces or quotes, the web service doesn't return a success response.If I remove the quotes and/or spaces, success.I've tried wrapping the string in tags, but I don't know what else to do.

View 2 Replies

PHP :: Should Services Act Like Controllers?

May 25, 2011

I've done a fair amount of (web)development in the usual MVC way of thinking and it served me well I think. However, I now have to split my application in a way that my front-end has to access the server-side functions as services. Since I'm the one creating the services, I thought I could think of services as controllers which would, in turn, call the functions in my model. Is that a good way to do it? The server side technology in question is PHP and the client-side is Adobe Flex (ActionScript).

View 2 Replies

Media Server :: Web Services With SSL

May 15, 2009

I am currently connecting to a Web Service (wsdl) with no problems over HTTP.However as soon as I try to connect over HTTPS, my WebSerrvice object queues up the call and sits there forever.What configuration needs to be done in FMS2 to allow outbound WebService calls to be made using SSL?

View 3 Replies

Flex :: Use Multiple Web Services?

Dec 2, 2010

I am developing an application with multiple windows, all using their own web services.Is it bad practice to use more than one web service per application? If so, what are the disadvantages?

View 1 Replies

Java :: How To Get Sound From Services

Feb 23, 2012

I have a Java-based server side and a flex client side using Spring BlazeDS Integration. It works fine, but I want to get sound from server side recently. I followed this BlazeDS mapping doc, it says when Java return a Byte[], it will be converted to ByteArray which I want. So I handle the MP3 file by ByteArrayOutputStream, convert it to Byte[] and return it back to front-end, but the value that Actionscript gets turns to be null value.

[Code]...

View 2 Replies

Web Services - NET 3.5 WebService Compression For Flex?

Aug 17, 2009

We have Flex applications that connect to our ASP.NET 3.5 Web Applications and usually download lot of data. Now considering XML as transport, for every item, it transmits meta data twice for example.. instead of transferring int value as <Customer CustomerID=23/> it transmits <Customer><CustomerID>23</CustomerID></Customer> .. now here is where bandwidth conservation becomes an issue.

FLEX Can not read GZip and DEFLATE compressed HTTP Response ( So cant use any of them )I heard of some WSCompression but it requires WSE 3.0 now I am skeptical to introduce too many dependency in my hosting environment which requires too much management and overheads. Is WSE 3.0 only dll library which requires no installation on production server? Does it require rewriting all WebService attribute? Or is it simple one time configuration and more or less, anyone knows does it work with Flex ? Flex dynamically generates web services, and we use lot of its auto generated code, now if we want to support compression then do we need to rewrite lot of code?

Simplest solution I can think of is, reduce unnecessary XML tags and reduce them down to attributes to save bandwidth. Is there an easy way to achieve it, our classes has more then 50-70 properties, I understand it will be nightmare to add attributes to each property but we dont know how to do it in case of SOAP.

[Code]...

View 2 Replies

Java :: Web Services Creation And Consumption?

Dec 23, 2009

I'd like to learn how to create a java web service that can be consumed by a web tier, which is constituted of java and flex. What books can help me learn how to create a java web service and consume it via java & flex?Should I look to build a web service from scratch or from frameworks like: XFire, Axis, CXF, Spring Web Services, etc.?If using a framework is recommended, which of the above or any others makes the most sense to learn/use?

EDIT:Both the java AND flex components of the web tier need to independently access the web service. For example, the flex component helps the user create & save a spreadsheet; the java component retrieves the spreadsheet data and displays it accordingly.

View 4 Replies

Iphone :: Flex - Use AMF Instead Of JSON (for Web Services)?

May 29, 2010

Although iPhone support JSON natively, AMF is a binary protocol and it supposes to use much less bandwidth. Do you think using AMF is a good idea?Just found this AMF library in cocoa (Objective-C):Here's the famous benchmark that shows AMF is smaller and faster than JSON + gzip in Flex:

View 5 Replies

Flex :: Ignores Changes In Services-config.xml?

Jun 22, 2010

Today I tried to connect to other domain.I changed url of endpoint, but it looks like flex just ignores my changes.I am sure that an old url doesn't exist in any file in src directory,I even renamed services-config.xml to services-config2.xml, cleaned and rebuilded project many times, even made a release build, but it still connects to the same domain.I have tested flex application in localhost and in the same domain, that has AMF services, but it works in the same way.My services-config.xml is:

<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>

[code].....

View 3 Replies

Flex Consuming Java Web Services?

Sep 22, 2011

We are planning to use flex and Java Web Services, what is the best practice to consume web service from flex is it better to directly call the web service from Action scripts or to use remoting where java client will call the web services and later flex using remoting will the java client?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved