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


Similar Posts:


Actionscript 3 :: Shared Hosting Provider For Adobe Air Socket Servlet?

Feb 14, 2012

I wrote a small Adobe Air server socket app for a small client/server application. Aside from getting a dedicated server, are there any companies out there that would ...

1. Allow running Adobe AIR on the server

2. Grant permissions on ports for socket sending/listening

View 2 Replies

Php :: Make Xampp Environment Behave The Same As Remote Shared Hosting Environment?

Jul 11, 2011

i don't know how to say that in technical terms. and i think this is the reason to why i cant get good answer from Google.i have xampp on my local winxp machine. i use it for developing websites locally then upload these files to my clients shared hosting accounts.

the problem that in 2 years i have always found differences between how xampp works and how the web server work.some code work locally but dont remotely and the opposite. also flash behave differently on xampp than the remote web server.is there is a way i can get the server configuration and use it with xampp like get the server php.ini and use it with xampp?

View 1 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

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

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

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

Flex :: Changing A Flex Movie To Use Runtime Shared Libraries And Losing Text In Charts?

Dec 3, 2009

I'm creating a small size Flex movies which contains two line charts, at the moment the size of the release build swf is 343KB, which is too large for our needs.

I've tried changing the loading of the SWC file to Runtime Shared Libraries, but I found that this removed the text of the charts (the text for the x and y axis). Why would the text be removed when the Framework linkage is set as a Runtime shared library?

View 1 Replies

ActionScript 3.0 :: AIR Shared Object Shared Between Flash & AIR?

Mar 13, 2009

I created a very simple experiment to attempt to access the same shared object in Flash Player and AIR.

A Flash SWF creates a local shared object.

A AIR application (being tested from CS3 or installed) opens the same shared object.

The data does not persist. Is this theoretically possible?

View 1 Replies

Flex :: BlazeDS/PureMVC And Shared Vos?

Apr 21, 2010

I'm building modular application with 2 modules which share common vo: ShopRegionVO

This vo is also a BlazeDS entity and is mapped to a remote java object. When shell loads first module everything is ok. The second module is a list of ShopRegionVOs and item change is handled with the following code:

sendNotification(CoverageConstants.SET_SELECTED_REGION_COMMAND, ShopRegionVO(List(e.target).selectedItem));

The exception is thrown right here:

Main Thread (Suspended: Error #1034: Type Coercion failed: cannot convert model.vo::ShopRegionVO@14961809 to model.vo.ShopRegionVO.)
view.list::RegionListMediator/onChange
flash.events::EventDispatcher/dispatchEventFunction [no source][code].....

View 1 Replies

Flex :: Use RSL(Runtime Shared Library) In It?

Dec 29, 2011

How to use RSL(Runtime shared library) in flex ?how can decrease loading time of swf using rsl?

View 1 Replies

Actionscript 3 :: Cannot Get The Shared Whiteboard To Be Shared?

Aug 18, 2010

I am building a shared whiteboard and I cannot get the shared whiteboard to be shared. I have successfully created a shared method and I see the shared object in the Admin Console that it is there and connected but can't see the drawing on a different browser. I am posting the entire actionscript code.

package
{
import flash.display.Sprite;[code]......

View 3 Replies

Flex :: Understanding Remote Shared Objects?

Oct 20, 2009

I have 2 questions about remote shared objects in Flex/ActionScript3:1) If I connect to a remote shared objects, but do not handle the SYNC event, will the shared object still receive data from the server? ie. will the server still broadcast data to this client ? This is what I expect

View 2 Replies

Flex :: Scanning A System For Shared Folders In Lan?

Feb 13, 2010

I am developing an application in flex 3 using action script 3........I have some range of ip address in LAN(wired or wireless both).....i want to check which all the systems available...and also want to see their shared folders..

View 2 Replies

Flex :: Recording Shared Desktop And Webcam?

Sep 14, 2011

I want to save published streams on my application server, so I can use the videos to create a webcast presentation later.P.S. I may be sounded like I already have an application up and runnning, but I don't. I'm at the planning phase at the moment and trying to decide what/which technology to use.

View 2 Replies

Performance :: Flex And Embed Fonts Shared Library?

Feb 21, 2010

I have a question regarding flex and embed fonts , i want to have a library of embed fonts that will have about 30 different fonts Is there any way i can only load the fonts that i use? ( dynamicaly )

View 1 Replies

Flex :: What AMF Servers Support Remote Shared Objects

Mar 29, 2010

I'm planning on building a Flex based multiplayer game, and I'm researching what will be required for the server end. I have PHP experience, so I started looking at ZendAMF.

Now in this game, I'll need the concept of rooms, and real time updates to clients in those rooms, so it looks like I'll be using remote shared objects (correct, yes?). I'm not seeing where ZendAMF can support this.It seems to indicate that ZendAMF isn't going to do what I want. WebORB for PHP seems to be the only PHP based solution that does messaging, but on that page it doesn't mention "real-time" next to it like the Java based ones below it do.

View 3 Replies

Flex :: Storing Instances Of Classes In Shared Objects

May 26, 2010

Is it possible to store instances of a class in a cookie or in shared objects.

Basically in my application I have an object "Diagram" that the user can create. If they hit save, I want to store the current instance as a cookie and allows them to reload it later.

Alternatively, I could see about getting them to store the saved version on the hard disk. But even then, all I want to save and retreive is my actionscript object.

I've tried storing the object to SharedObject.data.diag, but when I try to retrieve the object from the cookie doing SharedObject.data.diag as Diag returns null.

View 1 Replies

Flex :: Know If The User Allows Storage Of Local Shared Objects (LSO)

Nov 25, 2010

There is a small feature I have implemented that makes uses of the Local Shared Objects to work properly.

I wish to be able to help the user self-diagnose if he is unable to use the said feature because he refused access for this computer to writing local shared objects and give him instructions to work around the issue if it applies to him.

I'm looking for something similar to the muted property of the Microphone class [URL] or the Camera class.

View 1 Replies

Actionscript 3 :: Shared Objects Not Working Correctly In Flex - Mobile

Apr 11, 2012

I have a very simple test going with shared objects in flex with mobile I have a person class.

package
{
import flash.display.MovieClip;

[Code]....

If I clear out the so it show the [object Person] again, but comment out get the ,,,

Can shared objects even store an array of objects properly. It is the same with the persistanceManager I believe.

View 1 Replies

AS :: Flex - Read All Data From Abstract Shared Object File?

Jun 4, 2010

what I meen is to get all objects and their properties, is it possible? How to do such thing?

View 2 Replies

Flex :: Flash Player 10.1 Crash On Shared Object Access

Jun 14, 2010

since updating my Flash Player plugin from 10 to 10.1, I'm seeing a weird crash when accessing shared objects. Flex Builder's debugger pops up and prints a stack trace like this:

undefined
at flash.net::SharedObject$/getLocal()
at my.code::MyClass$/load()[/my/path/to/my/MyClass.as:27]
(...)

This happens when calling SharedObject.getLocal("someString") for the second time for the same string, though it doesn't always crash. When using another browser on the same machine (not configured as the preferred debugging browser in Flex Builder), Flash Player remains silent. The code is wrapped in a try/catch(Error) block which does not catch this error. I'm using Flex SDK 3.5 and Flex Builder 3 on Mac OS X 10.6.3.

View 4 Replies

Flex :: Clear Shared Objects When Browser Closes Abruptly?

Jun 7, 2011

How to clear the shared objects when user closes the browser abruptly?If the user opens the same application in two tabs, and user tries to close any one of the tab, we have to listen only the closed tab event.

View 1 Replies

Flex :: Build Error - Runtime-shared-library-path?

Jan 4, 2012

I recently switched a Flex project over to using RSLs. It built fine for quite a while but has recently dug its heels in and is giving me this error:configuration variable 'runtime-shared-library-path' requires a value for 'rsl-url'I went through all the flex XML files I could find and either this value doesn't exist or there are entries available for it. Nowhere did I see a <rs-url></rs-url> with no value.

View 1 Replies

Flex :: Architect Extended Cairngorm Classes To Be Shared Across Applications?

Jun 5, 2009

I have created a few Event and Command classes for use in my Cairngorm projects.For example, I created an class that extends URL... that allows me to set callback functions upon completion or failure of the corresponding Command. To accomplish this, I also had to create a new Class that implements com.adobe.cairngorm.commands.ICommand that I extend for all Commands in my projects.Now, I want to use these two classes across all of my Cairngorm applications. What is the best way to do this? Should I just edit the Cairngorm source for CairngormEvent and ICommandand recompile the Cairngorm MVC (is that even possible)? Or add my two classes to the Cairngorm source and recompile the Cairngorm MVC? Or should I just add them to a shared library?I've chose the third option for now, but this requires that I reference the Cairngorm library in both my library and each project. I am wondering if there is a better practice and what the benefits are.

View 1 Replies

Flex :: Flash Shared Objects Storage Location Changing Occasionally?

Feb 15, 2011

When running a flash application that I run locallyie I get to it from a browser but with a file pathNow, most of the time the shared objects are stored in%APPDATA%MacromediaFlash Player#SharedObjectsXXXX#localWithNetBut occasionally, it reverts and thinks this application is running on localhost%APPDATA%MacromediaFlash Player#SharedObjectsXXXXlocalhostwhich means all previous saved settings are gone.I'm wondering if anyone knows how flash decides if the application is infact localhost or localWithNet (local with Network access)

View 4 Replies

Flex :: Get Property Values From Shared Object In Client's Load Event?

Mar 5, 2010

I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.

1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.

2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.

View 1 Replies







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