ActionScript 3.0 :: Create A Secure Password Protected Page
Oct 29, 2009earlier using flash action script 2..i have created many password protected pages but how can i create a secure password protected page using Actionscript 3.
View 1 Repliesearlier using flash action script 2..i have created many password protected pages but how can i create a secure password protected page using Actionscript 3.
View 1 RepliesHow its done?
on (release, keyPress "<Enter>") {
if (password eq "caleb") {
tellTarget ("_root") {
gotoAndStop("private");
}} else {
tellTarget ("_root") {
gotoAndStop("error");
}}
It contains syntax error.
that is there any way to protect the Flash source (FLA) file with password. So that if any body wants to open the file in flash it should ask the password before opening.
View 2 Repliesi have the url of a password protected xml, and i need to load it in my application. but i can't figure it out how. i did find an example but it was in actionScirpt 2 and i'm having troubles coding it in 3.0.
ActionScript Code:
var _login:LoadVars = new LoadVars();
var loggedInXML = new XML();
loggedInXML.ignoreWhite = true;
[Code]....
and i would like to know if there's a way to protect a movie with password like those javascript ones?~
View 1 RepliesI have my flash setup so that it stores information in an XML file. It grabs the current XML file and then appends the new data to the end of the XML file. It does this by using the short PHP file below:
[Code]....
The problem is that I want to make it so people can't just go and grab the data.xml file. How do I protect the data.xml file so that no one can access it unless it is accessed via the Flash?
I have tried messing with some .htaccess settings but can't seem to get it to work. I was thinking I could create some kind of .htaccess setting so that the data.xml file would be password protected and only the swf and php file could have access to it.
I am tring to build an application that remembers my passwords. like roboform. Is it possible to load the page and then fillin fields using AS?
View 4 RepliesToday, we can create password protected swfs using various content generation tools. When the user opens that swf, he/she needs to enter a password, and only then the encrypted swf can be viewed.Now, I am trying to load one such encrypted swf in a flex based AIR application, and I am using the SWFLoader class for that. But instead of the user entering the password, I want the application to provide the password at the time of loading the swf. Is this even possible? I tried googling, but nothing came up.
View 1 RepliesHow can I access a password protected webservice from AS3 (compiled using flash ide, so not flex application)I tried just calling it straight like lso tried using this
var authHeader:URLRequestHeader = new URLRequestHeader("Authorization","Basic " + credentials);
//add the header to request
[code]....
I use the JQuery plugin Uploadify for uploading files. It works fine in all browsers. If however I imlement a passwort protection via .htaccess like this
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /my/path/to/.htpasswd
AuthPGAuthoritative Off
Require user dev
uploadify stops working in Firefox. In Chrome it still works.
In Firefox the file select box works, but after I selected a file the progress bar does stay at 0% and the file is not uploaded to the server.
I guess the issue is somewhere with flash on password protected sites. how I can fix this, without removing the password protection?
without having to hardcode a username / password in my .swf file (very easy to decompile!), is it possible to send a URLRequest for some file (perhaps .php?) to a loader object which can load assets that reside in password protected directories?my PHP skills are weak at best, so if calling a .php script is the solution.
View 2 RepliesI have a Flash application that displays online e-learning tests. Once a user successfully logs in(via .net webservice) the app loads in XML files, images and audio files via Loader/URLRequest objects and uses the loaded data to render the test on screen.This all works fine but recently the decision has been made to put the XML and media files used by the tests in a password protected directory for extra security.I was wondering if anyone has any experience loading files into Flash from password protected folders. From what I can see online I could specify the username and password for the folder as HTTP request headers using a URLRequestHeader object and set the requestHeaders property of the URLRequest to this URLRequestHeader obj. But this only seems a possibility with the POST method and I am using GET.Also even with the POST method there seems to be issues with sending a HTTP Authorization header in player versions before 9.0.124Is what I am trying to do possible or is it not allowed due to Flash security restrictions?
View 3 RepliesI have planned to create an educational application / movie in Flash 8 (contains exercises and final tests etc.). I want to protect my application with username and password. The script inside movie should generate the password for given key say in my case username it will output the hex key which can be your password and no need to store it. cause you put same logic in your app which will generate the same hex key for same key i.e. is your username
View 1 RepliesIs flash (actionscript 2.0) secure enough to use for a website that holds personal info, password, restricted areas, ect. How can I make it secure enough if it's possible.
View 1 RepliesIm new at actionscript, and I am making a very project. Basicly, I have some thing were there is a page you can get to by beating other parts of the 'game'. I want to add some sort of a password or save feature to people can type in the password of something at the opening screen and jump to that page.
View 1 RepliesI want to pull some HTML off of a page that I can only get to through typing in my username and password? Is there anyway to enable flash to get to that page? Instead it just loads the same page that would load if you WEREN'T logged in.
View 5 RepliesI have a silly little question. One specific page on a site I work on needs to be protected with logins and passwords. All it is, is a list with downloads - consisting of files for students. Both the list (htmltext) and the downloads are inside a protected folder.
My question is: What's the easiest way to include this into my flash site ? (the site is completely flash).
I initially had two ideas: One was to make a popup appear that loads the protected file, and when people don't have access, I can show them a self made error page.A nicer thing would be to have the text file load dynamically into flash, but when a user doesnt have access, they get directed to the same error page again...
I am wondering if it is possible to embed a YouTube video on a https website. As far as I can tell YouTube videos can only be embedded with the http:// protocol. Is there a way to embed them on a page without Firefox throwing an error?
View 4 RepliesWe are planning a desktop client application with Adobe AIR. The client app will be delivered to our customers with a database, which contains monthly updated marketing data provided by our company. As different customers will buy different sets of data from us, for example, a customer is only interested in marketing data in a specific product category, while another customer need all data in a certain region. After a customer installs this client app, new data will be emailed to the customer every month.
So, the requirement is to keep the data accessible only by the customer who bought it. After reading through AIR's secure local store and database encryption feature, I came up with the following design: each customer will have his own secret key (stored in AIR's secure local store), the secret key is used to encrypt the data that the customer has purchased. Of course, the monthly data that we sent to the customer will be encrypted using the same secret key. So my questions are: is AIR's database encryption and secure local store secure enough for this use case? If someone gets the encrypted database file, can he decrypt the DB?
I have an FLV file that I want to be able to make a text box that acts as a password field.When the user enters the correct password, I want it to route the internet explorer page to a different website.
View 21 RepliesIs is possible to password a flash website page so that username and password are needed for access?
Is this something that can be created within Flash app itself or is third-party software needed?
After trying many methods in Flash 6 I have not been able to create a working password field. If anybody has code that works with FLASH 6 please post it. I just want to have two frames a frame to enter the password, and a frame to say that the password was wrong and go back. Then if the password is correct I would like It to go to a different flash document.
View 1 Replieshow do i create a password box in flash when i'm making a form that is asking for a username and password?
View 5 RepliesI know how to create a Username and password in flash. I want to know now is how to create a scene where users can register their own name and make their own password.
View 0 RepliesI'm making a website for my Xbox Live clan im making it in flash and im a total N00b to anything to do with login and stuff. Can someone pretty please tell me step-by-step how to create a database that when you put your user / password in, it checks to database to check if they are a vaid user and 2) can some one tell me how to create something like an add/edit thing just for 1/2 users so i could edit stuff like about me, actually in my web broswer.
View 4 RepliesI kind of understand how to create a basic username and password 'menu' in flash.[code]But I would like to create a menu where a user can create a new username with then will be added to an exteral file ( data base I guess).From there on anything the user does is remembered on that name. And if that user exits the program and loads it again the user's stats are loaded.
View 4 RepliesI'm trying to create a password input area where a player can insert several passwords and be correct, each password triggering the typing of that password in a separate area (which is what the numbers one to ten in the script below refer to). However, there is some flaw I can't find in the script and if I try to enter anything in the box, it is changed to "orangemarmalade" (see below) and only enters there (acting as if I typed "orangemarmalade" every time).
[Code]...
I know this cant be too difficult, but please entertain me I want to create a button on my web page for zoom in and out (the whole web page).
In IE you can achieve this by doing the following - "Press and hold the contol button and then press the - (minus) button (Ctrl -)." or click on the view option at the top of the browser>>zoom>>zoom out.
I am trying to create a page transition that will play a movieCLip transition into a page. and then it stops then when another button is pressed, it will play that transition out while loading the appropriate one. In the attached FLA, if you click on the red button first, the blue transition plays,
--red button code--
mybutton1.onRelease=function(){
_root.transitionClip.play();
}
and then stops on the stage. When you click the green button second,
--green button code --
mybutton2.onRelease=function(){
_root.transitionClip.play("out");
_root.transitionClip2.play();
}
it works correctly/ Playing out of the blue Transition and into the Red transition. However if I click it again it does the opposite, and just keep alternating.
If I add the
_root.transitionClip2.play("out");
to the first button then, nothing works right. I will eventually have more buttons, and may need to use a variable to control which "out" transitions is played, but how do I get the buttons to do this?I just want it to exit the current movie clip and play the "in" section of the desired clip.
i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,
function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....