Php :: IIS 7 Authentication For Flash Related Files?
Apr 2, 2012
What I would like to do is to use ASP.NET impersonation to authenticate a Flash app as a user in IIS so that the file dependencies related to the flash file ( XML config files, and PHP API calls ) are not anonymously accessible when users try to access them directly through the URL. So, instead of displaying the contents of an XML config file, it should tell the unauthenticated user they do not have permission to view the file.
Is this possible? Right now I'm looking into request headers and the settings in IIS for authentication.
So I found out how to use Basic Authentication through help posted here. The problem I'm running into is that even though the flash app sends the appropriate request. Which is handled fine in FF, Chrome, and Safari. It still displays the login pop-up box for Opera and IE. Does anyone know why IE and Opera behave differently with Basic Authentication?
View 1 Replies
Similar Posts:
Jun 11, 2010
I have a small flash project. I created a SWF from the flash sources.Unfortunately all my flash sources related to the project are deleted.
I left with the SWF file. Is there any way that I can retrieve all the flash source files from the swf file ?
View 1 Replies
Apr 10, 2010
I am facing a problem while using textAreacomponent in Flash cs4.I set the text of this component at run time with coding i.e dynamic text and after that i am rotating this component with -2.After rotation it dosen't show the text why is it so?
View 1 Replies
Dec 10, 2011
I haven't been here for a while but as a resource of excellent ideas I am back to ask something that I feel you guys would know about.I am a teacher thinking of going self employed and I want to set up an online business charging for access to resources I create myself online to any students that would be interested.I can figure out how to set up password protected areas on my website where access is given when payment is made.
Of course this is for a limited period, say a week and then the password would automatically and randomly change.
I would give the password to those that had paid for access for the agreed period for access.As I aim to have more than one person at a time, this needs to be self regulating. Is this at all possible?Online teaching resource not exactly flash related!
View 3 Replies
Dec 12, 2011
I'm writing a game that involves cargo, and I plan to have a large number of cargo types. Currently I have a Cargo class, and a ship carrying cargo has an array of the Cargos it is holding. I'd really rather not have each ship with a bunch of objects when all I really want to know is how much of which cargoes each ship has. Especially when these ships will be created and discarded a lot.
I'm sure the thing I'm looking for is so basic I'll look dumb for even asking, but I know there's something similar to an array that holds an object and a related value. I want to use that to reference the Cargo type from the static array, and hold the quantity.
What's it called? How would I use it (ie what are common functions used for it)? Some code snippets and terminology would be ideal.
View 2 Replies
Apr 11, 2011
I am having a scenario where I need to access a service but when accessing it, I get an HTTP authentication popup of browser. I don't the users to see this. I talked to a guy working on same thing in some other technology and he mentioned that they are using Digest Authentication. I need to know how this can be achieved in Flash.
View 1 Replies
Apr 9, 2012
I need to authorise my Flash game (which runs on Facebook) users against my game server. I'm able to get their data like id, access token, etc, from Facebook on the client (I'm using the Flash Facebook API) but I'm not sure how to authorize them on my game server (e.g. do a login with a database query). One scenario that I have on my mind:
If I could get the same access token from Facebook on both the client (which I already do) and the server (with, for example, a redirect URL, which I tried but does not seems to work), then I could easily compare the two tokens (together with the user IDs) and thus authorize the user. UPDATE To put it simpler, I want to catch the token that is returned from Facebook on the server-side before it gets to the client (it can be a simple PHP script that parses the URL token parameter). Next, store it in the DB on the server, and when the client queries the server, I can do the comparison.
View 2 Replies
Dec 7, 2009
I am creating a website which will contain both ASP.NET pages and a Flash applet.I want to encapsulate my business logic in a WCF service which will be exposed through two endpoints: One accesssible over the Internet through HTTP(S), for use by the Flash client, and one accessible within the data center for use by the application servers.If this does not seem like a good approach, then stop me here; otherwise, I'll move on...
The question is how to authenticate requests coming from the Flash client. Since I don't want to store the user's password in a browser cookie, don't want to send the password with every request, and don't want to have to use HTTPS after the initial login, I plan on using a token-based authentication system. I also don't want the user to have to log into the Flash client after already logging into the site itself, so I plan on using Javascript to pass the token to the Flash client when it starts.
I know WCF supports using the .NET Framework's built-in security framework (System.Security) to enforce access control, and I would like to take advantage of this.The question, then, is: How do I pass the token to the WCF service when it is called by Flash, and how do I process the token on the server? WCF has an "issued token" authentication mode, but it appears this is intended to be used in a full-blown federation scenario with a Secure Token Service and SAML tokens--a bit more complexity that I really want. It is possible to use this mode with my own "simple random-string" tokens? If so, how? Keep in mind this needs to be compatible with Flash.I could potentially pass the token in a header (either a SOAP header or an HTTP header). In this case, once I've determined which user is making the request, how do I inform the framework so that the System.Security checks will work?Is there a different approach altogether that I should consider?Anything that avoids sending passwords in every request, lets me use System.Security, and works with Flash is a possibility.
View 1 Replies
Dec 12, 2010
i have a flash application connected with a script on a remote server(X)different from the server hosting the website(Y)the application on server X needs to get some user information so i need to identify the user by what i have in the cookie
remote server X will get those informations from server Y is there any way i can get the user name or user id from the CAKEPHP cookie var?the authentication is the one found on cakephp website
[flash]----request---->[server X]----request---->[server Y]----response---->[server Y]...
View 1 Replies
Apr 24, 2005
it there any way to create an advanced password authentication in flash ? I saw the tutorial here :[URL] but I want to take it to the next level an create a more advanced authentication that will draw the passwords from a database or something external ( asp, php ). what is the most secure way to do it ?
View 5 Replies
Dec 2, 2009
I have a site that has the main path under password protection. I also have a subfolder that have a separate (htaccess/htpasswd) password protection. For some reason, when I access the subfolder, I'm asked to put in my id/password twice. All of the files that are referenced are under the subfolder.
What should I be doing to troubleshoot this? I've tried this on different browsers and it's the same behavior. There is one main html page with a .swf (the only thing on the page)...it loads other assets but they are within the same subfolder.
View 1 Replies
Mar 31, 2010
I'm running into an issue with Uploadify. I have put Uploadify into my app and all works fine in dev (using the VS web server). All worked fine and checked until I deployed the app into my test environment which uses Integrated Windows Authentication. When I actually go to upload the file, the browser brings up a login prompt. At this point, even if you type in the correct username and password, the request seems not to complete and even if you tell the browser to remember the password it still brings up the login prompt.
When this started to occur, I decided to spin up Fiddler and see what was going on. But guess what, when ever Fiddler is running the issue doesn't occur. Unfortunately I can't make running Fiddler a reuqierment for running the app. I know there are some issues with Uploadify/flash when using forms authentication but I didn't think they carried across to Integrated Windows Authentication.
View 2 Replies
Dec 13, 2011
I was editing a very basic mobile Flex project, and after I debugged the master (application) mxml file, Design View stopped working (blank screen displayed, no Design View errors) for all files. Creating new projects, either mobile or else, or testing old, working projects, doesn't work either. Out of the related issues I've found info on, most concern earlier versions of the IDE, and deal with either Design View errors (got none), use of certain functions or custom components (I get the error even on a new project), or are solved by changing styles back-and-forth (tried already, to no avail).
I can't drag and drop components to the design area, either (a "prohibited" symbol appears and nothing happens when I drop); so I'm pretty sure it's not code-related or a bug, but probably something stupid, like a configuration issue, so I definitely need someone to take a fresh look at it.
View 1 Replies
Feb 16, 2011
Authentication is performed with Basic auth over SSL (although the password inside the basic auth is SHA-2'ed). The issue is that using basic authentication for the Flash client is causing the standard browser log-in box to appear because of "WWW-Authentication: Basic" in the header. Flash is unable to bypass this by manually setting the Authorization header prior to the request.Other clients need to be able to authenticate via the existing mechanisms, so rewriting the authentication logic would not be ideal.
I have the idea that the authorization headers sent to and received from flash client could be dynamically rewritten to use another name for Basic auth which would cause the browser not to understand the auth mechanism and not present the dialog box. Authentication headers to and from Tomcat could be rewritten from "WWW-Authenticate: Basic" to "WWW-Authenticate: PretendBasic" but ideally the built in container security could still handle the basic auth after the rewrite.
I wrote a filter to rewrite inbound headers as "WWW-Authenticate: PretendBasic" as "WWW-Authenticate: Basic" hoping the next filter chain would be auth and the request would be handled as normal. Unfortunately the Servlet specification states that a filter cannot be inserted prior to authentication. I think the only possibility of this working is to create a stackable JAAS authentication module that would first perform a header rewrite on requests if coming from the Flash client, and then pass authentication through to the existing container managed security systems.
View 2 Replies
Feb 28, 2012
Is there a way to automate authentication via adding the username/password in the profile XML of flash media encoder live (3.2)? I'm not referring to the command line parameters, but placing a tag in the xml file that contains the username/password for both the primary and backup server.
View 2 Replies
Mar 17, 2011
If I want to send the following format body in actionscript through http Post:
Content-Type: multipart/related; boundary="END_OF_PART"
Content-Length: 423478347
MIME-version: 1.0
[Code].....
How can I write the actionscript to send the "multipart/related" content type.
View 2 Replies
Nov 8, 2010
I want to show related video's in flowplayer at the end of the video.
View 1 Replies
Mar 30, 2011
I have installed the Authentication Add-In on a FMS 3.5.5 Development version, running Windows 2008 Server.I can easily get to the users.exe command prompt and add users with no problem.BUT, when I open the Flash Media Live Encoder and go to enter a username/password when connecting to the server, I keep getting "User Not Found".I've went back several times using users.exe and tested for my user credentials and it always states that the user is there.
View 1 Replies
May 20, 2004
I'm doing a simple hex converter with a input window(hex) and output window(dec)Currently i'm using a simple script on a button to covert the hex to dec [code] This is ok if you want to convert one hex number at a time, what i want to do is input lots of hex values (in the input window) and convert them to dec (to the output window) in one go.
View 8 Replies
Apr 28, 2009
I'm in the process of making a web page that'll successfully checked as XHTML 1.0 Transitional ([URL]), but as soon as I place in the fixit.js script under the flash object and view the page in IE, all the flash elements turn white. Quote:
[Code]...
Anyone knows how to place in flash files in xhtml files on IE without manually controls by clicking on the flash file.
View 1 Replies
Jan 24, 2009
I want to know what this error means and how ca i fix it[code]...
View 1 Replies
Jan 29, 2009
I am designer and working on some Flash Banner design projects.client need it according to Google terms as it is going for google Adwords Program , so i am using this code:[code]but my probem is that i have done all the animation inside a Movie clip and i the button is inside the movie, can i paste the code on the insode button or i should create a button on main stage ?
View 2 Replies
Mar 12, 2010
I have this FLV player that plays movies in a library style.Where you get thumbnails for all different videos with the ability to add different categories.I have a fla and XML file as my source files.xml has all the information about the list of movies titles description and all that and my fla file has info about the way player looks.I want to be able to add a tab called related videos, kind of like YouTube where when you play a certain movie it show a list of similar videos.
View 5 Replies
May 3, 2010
I want to update 50 "Circle sprites" (sprite with a circle in graphics object) on a timer event. Each circle's radius and position is calculated with a formula based on preloaded xml data.
[Code]....
View 4 Replies
Sep 1, 2010
how to make objects on a site communicate. Not using spaghetti code or event. For those that have just begun programming in AS3 this is a neat trick.
[URL]
View 9 Replies
Nov 12, 2010
I'm wondering about this for some research i'm doing.
View 9 Replies
Jun 26, 2008
I'm trying to put together an XML based Flash map. On the right side, is a dynamically loaded XML menu. Now, my problem is that the rollover and rollout effects for the menu doesn't work. Basically, I have a movie clip that contains a dynamic textfield and another movieclip (the latter contains a button.I wanted it so that when the user rolls over this button, it plays, and when the user rolls out, it plays an exit "fade")[code]
I've tried using "var menuItem=this._name" to retrieve the "path" of my buttons when you rollOver them (which should be something like "mcContainer.menuItem.bCountyBG.gotoAndPlay(2) ;"), although I need the menuItem to change to whatever this._name is.It doesn't work because menuItem's returned value is considered a string, so I can't use it in my command---> "mcContainer.menuItem.bCountyBG.gotoAndPlay(2) ;I was wondering if anyone can tell me if it's possible to convert this string to a movieclip by some sort of function or other means?
View 2 Replies
Dec 24, 2008
I'm trying to make a slideshow of sorts for a friend of mine in which a php script lists the number of files it's found in a directory as well as the relative links to each file. The slideshow parses these values and is supposed to individually fade between two different pictures after loading the new one... but it works erratically at best.
I've got everything working up to a component related to onLoadInit that honestly is just driving me crazy because I cannot for the life of me figure it out, as it works sometimes, other times not at all, etc. It's also supposed to loop infinitely, but it won't.
If you'd like to see what's going on, go to[URL]../moveit to see how weird it acts. Following is the brunt of the code, which I'm just about 100% sure should work correctly.
[Code]...
View 1 Replies
Apr 15, 2011
We got in below message in the eventViewer. "Faulting applicaion FMSAdmin.exe, version 2.0.5.88, faulting module unknown, version 0.0.0.0, fault address 0x00d1bee0."
View 2 Replies
Aug 29, 2011
I seem to have hit a bug in the current flash player (tested on 10.1.52.14): If I programmatically change the color of a sprite consisting of a text and a circle the output is different if the application is in fullscreen mode (the text is not re-colored in fs). Inside the mousedown event handler of my class I call the following (somewhat simplified code to make things easier to understand here):
var cTrans:ColorTransform = new ColorTransform();
_hColor=0xD78500//recolor the clicked sprite cTrans.color = _hColor;
this.transform.colorTransform = cTrans;
This is what I get in windowed mode (expected behavior):
That's the same sprite in fullscreen:
I can switch between windowed and fullscreen and the text gets colored or not as shown above.
View 4 Replies