MYSQL To Authenticate Users And Protect Downloadable Content?

Jul 22, 2009

I am a novice Flash user as I have built one "members section" website using Flash CS4 (but used Actionscript 2).I am now in the process of learning ActionScript 3 and am working towards building a v2.0 of my original website. The original website uses a PHP authentication system, where a user logs in through a regular HTML page. Once authenticated, they are given the option to access the members section.I wish to eliminate the need to have our users log in through this HTML page as I wish this to be built directly into Members Section 2.0 however I haven't got slightest clue how to construct a users "login" function.  

have users login (authenticate themselves) through the main page of this Flash project by the flash project referencing the MYSQL user names and password database. Additionally, there are three types of users that will be logging into this site (Status A users, Status B users and Status C users).  
 
We need to protect various downloadable documents (Word files and PDF's) to ensure only those with the correct authentication are granted access to particular files. I.E. Status "A" users get access to everything, Status B users get access to almost everything and Status C users get access to very few files.
 
I assume the best method for this, is to store the files in three folders, once for each Status Class therefore Status A users will access files from the Status A folder, Status B users will only be able to access files from the "B" folder and so on. best method to protect these files from unauthorized access I.E. "C" users attempting to download a document that is only intended for "A" users?

View 11 Replies


Similar Posts:


Flash :: Media Server - Protect The Broadcasted Content From Unauthorized Copying Users In Player

Feb 3, 2010

Is it possible to protect the broadcasted content from unauthorized copying users. In the demo version of FMS 3.5 for interactive broadcasting stream audio and video can be copied by means of such programs as Comtasia. This may not like the content holders. Perhaps there are some instruments of protection.

View 1 Replies

Media Server :: FMIS3 And Authenticate Users Against An LDAP Directory

Mar 24, 2008

I'm pretty new to Flash VOD, exploring using a FMIS as a substitute for an existing vbrick systems' server. One thing that I'll need to do is authenticate users against an LDAP directory. Basically, the implementation will need to embed a Flash media player in a web page, the page also sets the server URI and stream name for the player. The player would need to ask the user for a username/password, and the server would need to make some determination about whether the user is authorized to receive the specified stream.

The advertising on Adobe's site for FMIS talks about LDAP, but on closer inspection it seems as though there's no real LDAP implementation. Instead, it seems as though there's a framework that allows for the development of an LDAP service. Is this the correct understanding? and if so, are there are any third-party plugins available commercially to handle LDAP? And if there aren't any commercial products, are there are any good resources for getting started developing one?

[Code]...

View 1 Replies

Best Way To List Online Users With PHP But Without MySQL?

Apr 21, 2010

I want to make a script that will list online users when they enter a page.Simple way is record newly entered users into MySQL and list them for example every second.But I don't think it's a good idea with tons of users like in a facebook app come in and out of the page.There would be a way with Flash and PHP sockets but I really don't want to use Flash either.So is there any option left?

View 2 Replies

Php :: Embed Video On External Sites While Still Using Tokens To Protect The Content?

Mar 23, 2010

On our own website, it's easy to protect against direct links to our video content by grabbing a token through AJAX and verifying the token through PHP before the file download is started.

However I'm also researching how I could provide an embed feature, like YouTube or vimeo etc., without compromising this security feature.

The problem is that the embed code I want to provide should look something like <object>...<embed>...</embed></object> -- but I don't know how to grab and append the token to the filename. I mean, I guess I could attach a script that did some gnarly JNOP business, but that's too dirty.I'm using JW Player for the actual video container.

View 2 Replies

Actionscript :: Block Any Decompilers,protect Also Protect Graphics?

Aug 18, 2010

I would like to protect my flash files. I would like to block any decompilers,protect actionscript and also protect graphics. Some time ago,I tried to decompile a swf and when I placed it inside a decompiler , it showed me a login form and no graphics.I believe that is the ultimate protection method.Do you have any idea what software can do that ?

View 2 Replies

ActionScript 3.0 :: Allow Users To Modify Their Course Name And The Mailto Content?

Feb 17, 2009

i have a file that I am trying to allow users to modify their course name and the mailto content. I wanted to provide them with one easy to edit document, either a txt file or xml. I assume I can't use a txt file since I need a link, but possible I am wrong? I was also trying to use css, but I have not tackled that yet.

Right now the text is inside of the actionscript.

I need to change the text and the link. I've attached my file to see if anyone has any pointers?

View 0 Replies

ActionScript 3.0 :: CMS System That Allows Users To Change The Textual Content?

Apr 8, 2011

I've developed a CMS system that allows users to change the textual content and save the changes back to an XML doc.All works fine in English but the writing to the XML Keeps falling over when it reaches a foreign character.. Even when wrapped with the CDDATA tag.The application needs to support users translating the content into different languages.

I'm using zinc to write out the XML string.During runtime all changes are stored back directly to the XML object ( the same one that is loaded at the start and is used to populated the CMS) then I use XML.toString() to create a string variable to pass to zinc to save out the file..

View 2 Replies

Actionscript 3.0 :: SWF Not Updating Mysql Content?

Sep 3, 2009

Using AMFPHP to call in data from php from mysql. i have a content management system to change the database content to meet the clients needs. content is easily changed in database but is not updated on swf file. its like its cache the swf on the computer or something. am i missing something. why wont the swf update its self.

View 5 Replies

ActionScript 2.0 :: Using Php And Mysql To Add Content To The Portfolio Without Modifying The Flash Itself?

Jun 3, 2004

i want to make a new portfolio site in flash. i was thinking on using as much server - side scripting as possible, to make in easier to update and add some features like flash guestbook/mail form and some other stuff. I was wondering. is it possible using php and mysql to add content to the portfolio without modifying the flash itself? Is there a tutorial regarding this? WHat i want, exactly is to be able to add photos, sites, prints and other stuff to my portfolio like i would add a post to this forum. the title being the title, the message being the description of the project and the pic i can attach being the photo itself.

View 14 Replies

ActionScript 3.0 :: PHP And MySQL - Display Dynamic Text Fields Content Based On The Page

May 13, 2011

I'm creating a backend using flash, php and mysql. The problem i'm having is that i have 2 dynamic text fields on the stage that i want it to display their content based on the page i am. My txtTitle is showing both mysql rows together like this: Aboutabout_content=About from MySQL Here is my coding:

[Code]...

View 1 Replies

Httpservice - Authenticate To Freshbooks API Using Flex?

Nov 23, 2009

I am new to Flex (FLex Builder 3.0), and I'm creating a simple application that would basically just authenticate to the Freshbooks API (www.freshbooks.com) via HTTPS. without sending anything else.

[Code]...

How do I code it such that the username (the authentication token given by freshbooks) would be sent to the server from within Flex itself and not the browser? My expected outcome is that there would be no pop-ups from the browser and whatever the freshbooks server returned would be displayed in the text area (txtArea1).

Note: If I input the authentication token to the browser pop-up, the application is able to correctly display the output to the text area.

View 2 Replies

Media Server :: FMS - How To Authenticate Client Using LDAP

Mar 6, 2009

How can do I authenticate the client using an LDAP server?

View 6 Replies

ActionScript 3.0 :: Add A Downloadable File?

Dec 11, 2009

I can't find a single tutorial that shows you how to add a download link to ur fla file. I got this snippet from the adobe file reference :

package com.mysite.Download {
import flash.display.Sprite;
import flash.events.*;

[code].....

View 3 Replies

IDE :: Create A Downloadable Link From PDF?

Jun 6, 2009

How would you insert a pdf file into a flash website and have it become a downloadable link?

View 2 Replies

ActionScript 3.0 :: Add Downloadable PDF Files To My Website?

Jun 19, 2009

I'm creating a web site, and I need to add two buttons that, when clicked, will download two different PDF files. I have absolutely NO IDEA how to do this!!! Not a clue!

View 12 Replies

Php :: Make Flash File Not Downloadable?

May 7, 2010

I want that my flash file on my website, can't be downloaded by anyone. Is there any way that i can do that? As Firefox and many browser has many add-ones which easily detect out flash content and after they can download the flash file?

View 3 Replies

ActionScript 3.0 :: Downloadable Files Within Flash Site?

May 8, 2011

I am building a website for a composer and he wants his users to be able to download a jpg of him for use in programs and a pdf with a short biography for the same use. I thought I could do this by creating a new URLRequest, but when i click it just opens a new window in Firefox. Here is the code I was using.

programPhoto_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseClick);
function mouseClick(event:MouseEvent):void{var request:URLRequest=new URLRequest("pictures/bio_pic.jpg");navigateToURL(request);}

[code].....

View 5 Replies

ActionScript 2.0 :: Downloadable Files And Unique Font

Aug 26, 2004

Okay, developing my first flash site with action script I have run into two problems I can't find fixes to via a kirupa search, one (which is not really an action script prop) is that I have created a text box that has a unique font in it, I look at it from another computer that does not have that font and I was surprised to see it was using times new roman, [is there a way to make my unique font viewable on all computers without making it a symbol?] next, I have a series of audio files on this site but I would also like the viewer to have the capabilities to download them, what is the code to allow this?

View 1 Replies

ActionScript 2.0 :: Attach Downloadable Pdf File To Button?

May 10, 2006

how do you attatch file or can you attatch files so that when the blash button is pressed it will download a pdf?

Also when i publish my files and tell it to center this does not seem to happen within the webpage why is this?

View 1 Replies

ActionScript 2.0 :: Downloadable Files And Unique Font?

Aug 26, 2004

developing my first flash site with action script I have run into two problems I can't find fixes to via a kirupa search, one (which is not really an action script prop) is that I have created a text box that has a unique font in it, I look at it from another computer that does not have that font and I was surprised to see it was using times new roman, [is there a way to make my unique font viewable on all computers without making it a symbol?] next, I have a series of audio files on this site but I would also like the viewer to have the capabilities to download them, what is the code to allow this?

View 1 Replies

Mysql :: Migrate A Preexisting Flex/Java/Hibernate/MySQL App Onto A CD For Portable Distro?

Feb 2, 2011

I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend. The client changed the requirements - now they want to distribute it on a CD where the user can just run the app without any installation or a network connection.

To do this, I certainly need to eliminate the web server and the database server and adapt my application (with as few changes as possible, of course) to a stand-alone application that will fit on a CD/DVD. I've managed to export the data to XML and read it into Flex, but I'm wondering if there's a way to recreate the Hibernate data structures in Flex so I could change as little code as possible. Failing that, is there any way to keep the existing Java/Hibernate external to the Flex code but retrievable without installing Apache Tomcat or MySQL?

View 3 Replies

Mysql :: Create An Insert Form With TextInput Containing ComboBox Provided By MySQL Database Table?

Jan 13, 2010

I have a Flex application which manage a database composed by 7 tables.I have created the insert form and all work great. Now I wanto to improve the Form performances; the idea is to replace the TextInput of the Form with ComboBoxes which are provided by the DataBase tables

View 1 Replies

Configure MySQL JDBC Driver Mysql-connector-java-5.1.12?

May 25, 2010

I have downloaded MySQL JDBC driver from [URL]... How do I configure it?

View 1 Replies

Actionscript 3 :: Make A Downloadable Version Of A Flash Game?

Mar 23, 2012

I already made a game with flash, and I want to provide an easy download for people that would rather play offline. Thing is, i use a folder whole structure to dynamically load content per level. Folder structure looks like this, not that it matters that much[code]...

How should I go to distribute this? Should I just resort to make a zip file for the flash game and assume people know how to extract and open the swf? Is there any other way to port easily as an executable? Perhaps Adobe Air (not sure if this works though)?

View 3 Replies

Code Access Security / Make Flash Movies Not Downloadable

Jan 20, 2011

is there any way, to hide the source of a flash in the sourcecode, so that the movie itsself is not downloadable, or better not to copy?

View 1 Replies

Mysql :: Accent MySQL-Flex/ZendFramework?

Oct 22, 2011

In my table the Collation is:latin1_swedish_ci (but i tried UTF8_unicode too).In my flex application when it shows the table,it displays it correct,with all accent and pointing correct,but in the table is like :

View 1 Replies

Flex :: Authenticate Desktop FLEX / AIR App With Remote Server?

Apr 21, 2011

I have an Adobe AIR/FLEX app packaged as a native installer application running on the desktop. From there, I need to do the following:

a) stay in the "app:" application sandbox so I can load "file://" JPGs into my mx:HTML control

b) authenticate with my server (CAKEPHP) to get a valid CAKEPHP Session Cookie, and

c) securely GET/POST XHR requests from javascript.

Can I authenticate using something like OAUTH or Facebook Connect without losing the application sandbox? It seems if I redirect from my mx:HTML, I lose my local privileges.Can I authenticate with my server using a different sandbox (remote?) and safely pass the Session Cookie to my application sandbox? Are either of these methods safe against scripting attacks?

View 1 Replies

IDE :: Protect AS Classes Going Out On Cd?

Mar 17, 2011

i've got an AS3 project going out on cd. The project will consist of the SWF, several folder directories containing flvs, and folders containing ActionScript Classes used by the SWF. I'm not so much worried about protecting the FLV's or the Swf, but the cd could eventually be snagged by a rival company. is there a way to somewhat protect or encript external actionscript classes?

View 3 Replies

Protect Against Audio Downloads?

Aug 30, 2009

I have a flash application that plays .mp3 files. I use the Sound object and the .loadSound method. It is quite easy for someone to download the mp3 files from say a plugin for Firefox called DownloadHelper, or using the Safari Activity window. Is there a way to protect against this?

View 5 Replies







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