Password Protected Page Help
Hi, I've done a password protected page and it works. What I need to know now is that how ccan I make the password protected page with usernames as well?? Or is that even possible?? If yes, what should I do??
Really appreciate your help!! Thanks in advance..
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 11-12-2004, 04:32 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Password Protected Page Help
Hi, I've done a password protected page and it works. What I need to know now is that how ccan I make the password protected page with usernames as well?? Or is that even possible?? If yes, what should I do??
Really appreciate your help!! Thanks in advance..
Password Protected Personal Page Editing
titel pretty much explains itself but ill elaborate:
On my website :**LINK TO WEBSITE**
i have a clan roster, when you click on a name in the clan roster it brings up a new page with that memebers information. Right now im using an html link to an html page out of flash, but i would like to know if i could do the following 100% in flash.
**LINK TO ROSTER FILE**
1) in the dynamic text, when a link is pressed (ie a name like [FKA]Revo) execute the following code : on (release) {setProperty(personalwindow,_visible,true)} and extra code where its needed.
2) create a simple password system so that only the owner of the personal page (the content is differant since i am going to a dd a content change loader to the dyanamic text) can open that text file and edit it WITHIN THE MOVIE.
3)also, this is of topic, but does anyone know how to display an HTML page witihin flahs kind of like with iFrames? so when the FORUM link is clicked inside the content box the forum webpage will be displayed? tnx.
- Regards : hitman
Login - Password Protected Content/page
I scanned the net for the best way to provide a login protection for the site I am working on. One that enables those with the relevant username and password to access a page that holds protected content.
The method I have put in place is inherently coded in flash and utilises a separate text file to hold the username and password information.
It all works swimmingly telling the user if they have the wrong info, and logs them in nicely when the correct details have been typed in. But I discovered a major flaw in it recently that has me baffled.
If you type in any random text into both the username and password input boxes, then delete it all, you can then click the login button and heh presto you're in. Not very good at all.
You can see this in action as the site is up and running at www.safetybusiness.co.uk
Go to the VIP page.
There are two input text boxes with the variables 'loginname' and 'loginpass' and a dynamic text box called 'status'
Here is the code i have given the login button:
on (release, keyPress "<Enter>") {
if (loginname != undefined and loginpass != undefined) {
if (eval(loginname) eq loginpass) {
loginname = "";
loginpass = "";
gotoAndStop(132);
} else {
status = "login details incorrect";
}
}
}
Any ideas would be greatly appreiciated....or a suggestion for an alternative successful method would also be most welcome.
Goto Password Protected Page (label)
anyone tell me is this not how its done?
on (release, keyPress "<Enter>") {
if (password eq "caleb") {
tellTarget ("_root") {
gotoAndStop("private");
}
} else {
tellTarget ("_root") {
gotoAndStop("error");
}
}
it contains syntax error: pls any help appreciated:
Goto Password Protected Page (label)
anyone tell me is this not how its done?
on (release, keyPress "<Enter>") {
if (password eq "caleb") {
tellTarget ("_root") {
gotoAndStop("private");
}
} else {
tellTarget ("_root") {
gotoAndStop("error");
}
}
it contains syntax error: pls any help appreciated:
Anyone Out There Know Of A Good Tutorial For Creating Password Protected Flash Page?
Hey Everyone,
How are things going today. Fine here, except that I would like to create a password protected section on a Flash website that I am creating utilizing Usernames and passwords for multiple users.
I found a tutorial here on kirupa.com, but it only uses a single password. Does anyone know of a tutorial for what I am looking for or could you help me out by telling me how to adjust the tutorial on Kirupa to suit my needs.
If anyone out there can help or if you have any suggestions, please feel free to contact me ASAP.
Thanks,
Kelly
Protected Password
Hi,
I was wondering... I made a password box and username box but how do I make it so that whenever the client types his/her password in the box they come up as stars instead of the letters?
Regards,
Saterial
Password Protected
I am creating a full Flash website and I want to have a password page and if the password is entered correctly, it will direct you to a hidden frame. Does anyone know how to accomplish this?
Password Protected Area
Hello,
I have followed the tutorial on this site:
http://www.flashkit.com/tutorials/Ac...65/index.shtml
But my questions is can I add, more persons with different log in passwords and names?
Or is this not possible in Flash alone and do I have to use such like ASP?
And how to do that?
Greetz,
Password Protected FLA File
Can any body tell me plz 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.
http://flashsprinter.cjb.net
Password Protected Pages - Almost There
2 questions here. I'm using this tutorial:
http://www.actionscript.org/tutorial...es/index.shtml
I've modified the script slightly to work with my movie and everything works perfect, well almost perfect.
The user is able to type intheir password in an "inpute text" text field. As part of the Password MC, there is a "retry" button that appears if the user types in an incorrect password. THe code on this button takes the user back to frame 1 of the MC using a simple:
on (release) {
gotoAndPlay (1);
}
code. The issue I'm trying to get rid of is this:
If a user types in the wrong password, and clicks the retry button, they are taken back to frame 1 as they should, but the incorrect password is still there.
My first question is this:
How can I take them back to frame one and have an empty text field?
Second issue, my "enter" button has this code:
on (release, keyPress "<Enter>") {
if (password eq "pictures") {
getURL ("pictures.htm", "_blank");
} else if (password eq "jokes") {
getURL ("jokes.htm", "_blank");
} else if (password eq "stories") {
getURL ("stories.htm", "_blank");
} else if (password eq "private") {
tellTarget ("_level0") {
gotoAndStop ("private");
}
} else {
gotoAndStop ("error");
}
}
How do I modify this so that the letters/numbers don't appear, but instead a * appears each time a letter/number is typed?
Thanks for all the help.
Loading A Password Protected XML
i hope someone can help me with this,
i 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.
the AS 2 code looks like this, can someone help me convert this to 3.0?
thanks.
ActionScript Code:
var _login:LoadVars = new LoadVars();
var loggedInXML = new XML();
loggedInXML.ignoreWhite = true;
loggedInXML.onLoad = successfulLogin;
function successfulLogin(success:Boolean){
if (success) {
trace("Success");
}
}
_login.Username = myname;
_login.Password = something;
_login.sendAndLoad("https://www.myUrl.com.au/theXML.asp",loggedInXML,"POST");
Log In To A Password-protected Folder
I bave a site, I want approved viewers to have the ability to login to a page and see works in progress. How does one achieve this? [Just for client updates].
Password Protected Pages
I need some help.....duh
I have a photography website with a clients only page (http://www.crystalevansphotography.com). That page has a password box and when a correct password is entered the online proofbook opens. However, you can just go up to the address box and enter the address and get there without the password. How can I prevent this, and make it so that you have to go through the clients only page on the flash site? Oh by the way, that proofbook pages are in html (in case that matters).
Thanks is advance
Password Protected Flash File
Can any body tell me plz 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.
http://flashsprinter.cjb.net
How Can I Make My Movies Password Protected
Will someone tell me how can i give a password protection to my .swf files.
I mean that when someone open my flash movies a window popups and ask him to Enter the Password.. And when he enters it correctly the movie will start..
I hope some one may help me
Make A Site Password Protected?
How would you make a site password protected?? PHP? Also when you have the input text field how do you make the password part be all starts (i.e. *****) for flash etc... Thanks in advance
Corey
Importing Password Protected Xml Files?
Hello!
I am trying to import a rss feed which is password protected into my flash rss reader application.
I tried using this format
loadXml.load("http://usernameassword@somesite/rssfile.xml");
but it does not work
Is there anyone out there who was able to solve this problem?
All help is appreciated.
Thanks
Creating A Password Protected Area...
Hi maybe someone can help me with this. I have tried to search out a tutorial but i am ending up confused
All I want to do is have an area of a website which is password protected. There will only be one password to get into this section which several people will use. It is not life or death but I would like to make it secure and therefore think I need to encrypt it, which makes me think I need to use php.
Therefore my question is what are the pros and cons of the various methods and does anyone know of any tutorials which may explain it?
Oh I don't mind whether the secure part is a swf or another html page, if this makes any difference.
Many thanks
Importing Password Protected Xml Files?
Hello!
I am trying to import a rss feed which is password protected into my flash rss reader application.
I tried using this format
loadXml.load("http://username:password@somesite/rssfile.xml");
but it does not work
Is there anyone out there who was able to solve this problem?
All help is appreciated.
Thanks
Password Protected Dynamic Galleries
I am currently creating a Photography website and would like to create a login page that will allow a client to insert a password to retrieve their pictures in the form of a gallery. I have found examples on the building of the gallery, but no real examples on creating the link between the password entered and the specific client gallery.
any help would be appreciated..
Thank you
Nick
LoadVars With PHP In A Password Protected Directory
I'm using the sendAndLoad method to load some data from a PHP script. The problem is (at least seems to be) that the site is a testing folder that is password protected - it requests a user name and password before you can look at anything in the directory.
So sometimes the script fails because (or as I said, it seems to be because) it's not getting the user and name and password and so the request is denied.
First, does it sound like I have correctly diagnosed the problem?
Second, is there any way to send the username and password, perhaps using addRequestHeader? (I've taken a look at addRequestHeader but haven't been able to make much sense of it yet.)
Thanks for any insight you have on this.
Importing Password Protected Xml Files?
Hello!
I am trying to import a rss feed which is password protected into my flash rss reader application.
I tried using this format
loadXml.load("http://usernameassword@somesite/rssfile.xml");
but it does not work
Is there anyone out there who was able to solve this problem?
All help is appreciated.
Thanks
Loading XML Data From Password Protected Directory?
I am trying to load an XML file into Flash and I have run into some problems. When I first made the flash movie, everything worked fine. The website that contains the movie is password protected, but I was still able to load the XML into the flash movie. Since then, I have added HTTPS to the website. This threw everything into a tailspin. Now my movie can not load the XML file because it cannot load the URL (when in the Flash application the error message actaully says "failed to load url"). My conclusion is that when a person logs onto the url normally, you get a password prompt. So when the flash movie tries to load the XML, it too gets the password prompt and is unable to load the XML.
So, does anyone have suggestions on how to work around this?
[F8] Password Protected External Content Question
First of all, hi! I'm new here.
I have a question:
If I password protected a file, is it possible for Flash to call the password without actually SENDING the password? Obviously, it wouldn't be secure if it sent out the password out.
If not, I'm curious if you can make a file only accessible to certain pages.
Reason why I ask is because I want to create a MP3 player but I want it so there is no one can trace back to the original MP3 and download it.
Loading Password (htaccess) Protected Files.
Hi i couldnt find any threads on this, sorry if this is old news.
Basically I want to load images into a movie clip and the images are on a server, in a folder which is protected by password. Its a standard .htaccess type deal.
How do I get the flash movie to log in?
Incorporating Php/phpBB Into Flash To Create Password Protected Sections
I have a site however it is ALL in flash. I have a downloads section on my site which contains small gaming videos which guests may download. I also have a phpBB forum board. I originally wanted to make it so that you had to be a member of the forum and then login to download videos. (the login would be linked to the forum login as to only have 1 database). However, I ran into a stumbling block in that I am not sure how to incorporate php or even javascript for that matter into flash.
does anyone have any idea how to go about doing this?
To summarize, I just wnat to make it so that users have to be logged in to download files from my downloads section (which is still all in flash) furthermore I want this login to be linked to the phpBB login so there aren't multiple logins for the site.
Thanks.
Flash Form -> .htacces Protected Page Page
I'm wondering if I can build a flash login form that will access an .htaccess protected area?
I have a rough draft working where I'm using this protocol:
https://username:password@myprotectedsite.com/page.php
However, on a mac, in safari, it seems a bit buggy. The form works, and via a getURL will open the protected page. However, the username and password appear plain as day in the activity window (because I'm using getURL I'm sure) - then if I logout of that protected section, then go back to my form and hit submit, it open the browswer to the page, but actually pastes the url into the url window - that can't be good! I've also read that some people can't get it to work on IE.
Any knowledge of this?
Whats the best way to do this - possible php gateway and use loadvars to pass to php when then accesses the page? if so how?
Thanks!
Loading Text File From Protected Page ?
Hi guys,
I 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.....so if you go back to the original site, they'll start at the very first page again. That doesn't seem like a good idea to me, to be honest.
Is there another way ? Perhaps by building two simple form fields and check the passwords/logins and when they match people get directed to the protected area ? I now how to set this all up inside flash, but I don't know if it's possible to use server side protected in combination with this.
Any advice, pointers or suggestions are very welcome !
Bart
Login Page For PSWD Protected Directory On Server
Hello,
I have a client login page on my Flash website. The login page will take you to a password protected directory on my server that contains info on the clients project ie: contracts, budget proposels, mock-ups.
I was wondering if anyone had any links to a good tutorial on how to make the login page work. So when a client types in their username and Passwd, it sends them to the correct directory.
I've never tried anything like this before, so any help will be greatly appreciated.
Thanks
Return A Protected Var Who's Props Are Also Protected
I want to be able to have a property of an Class that is protected, but can be pulled with a get function. BUT this get function protects the props of this object.
for instance:
ActionScript Code:
public class CustomClass
{
protected var _bounds:Rectangle;
public function get bounds():Rectangle { return _bounds; }
public function CustomClass(x:Number, y:Number, w:Number, h:Number):void
{
_bounds = new Rectangle(x,y,w,h);
}
}
but if I instantiate it and say:
myCustomClass.bounds.width = 500;
the bounds will be updated. How can I make it where the props of this protected object stay protected?
I know I could pass a clone of the property which would keep it protected, but takes up more memory. OR I could set functions in the CustomClass that only return these sub props, and doesn't set them. Kinda like this:
ActionScript Code:
public class CustomClass
{
protected var _bounds:Rectangle;
public function get boundsWidth():Number { return _bounds.width; }
public function get boundsHeight():Number { return _bounds.height; }
public function CustomClass(x:Number, y:Number, w:Number, h:Number):void
{
_bounds = new Rectangle(0,0,200,200);
}
}
but that's a bit of an annoyance, and it doesn't feel as natural to have to say:
var h:Number = myCustomClass.boundsHeight;
as it is to say:
var h:Number = myCustomClass.bounds.height;
That in this latter choice makes it REALLY annoying to use methods supplied by these protected objects. Like hitTests or the sort.
any suggestions?
Help On Creating A Password For My Page
Hey i would really aprecciate if you could help me on creating a password for my flash web page.
I would like to begin my flash web page with a password that only my friends know about. But i dont know how to make that kind of action script, where the input text and button only react if i add the right password so this will send me to my page.
Thankyou for any of your tips.
Password To Secure Page?
Hi All! This is a Hard one!
I'm currently working on a youth website for my church and the website is:
www.uturnyouth.com
I currently have an area for VIPz only! This area is where kids get a password and enter it in the password section every week to access the VIP area:
http://www.uturnyouth.com/VIPz.htm
Anyway, when the correct password is put in the flash file uses 'geturl' to go to the vip area, the problem is when this happens I make the page it goes to the password - the reason for this is so that I can change the page every week, otherwise the kid could bookmark the page and never need a password.
How can i make it where the flash file goes to a url are it doesn't show up in the address bar or goes to the page that is secure!?
I'm not sure what is best to do?
Thanks for everyone's help!
-Josh
P.S. - The vip password is: bigtim
Username/Password Page
Yo dudes,
OK, so i want to allow users to enter a username and password to access a personalized page that will show details of thier order etc....
How do i do that? And plz can you guide be step by step becuase i dont know what to do when someone just throws some ActionScript at me.
Thanks alot.
Username/Password Page
Yo dudes,
OK, so i want to allow users to enter a username and password to access a personalized page that will show details of thier order etc....
How do i do that? And plz can you guide be step by step becuase i dont know what to do when someone just throws some ActionScript at me.
Thanks alot.
Whats The Best Way To Password Protect A Page?
im creating a link people click on to access certain pages and i want a password box to appear (i know how to do that part) but does anyone have any suggestions on a script to provide a password and how sercue/easy to crack would it be?
cheers
Possible To Password A Flash Website Page?
Is 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?
Thanks.
'Email Me My Password' In Flash Login Page
Hello,
I'm creating a simple login page and wanted to include a 'forgot your password' button that a user can click which will run the actionscript that will email their password to them.
Is this possible in Flash?
Regards
Robert
LoadVars Issue... Password Check Page
so I have a page with login and password fields. named login and pass
enter your info,
variables passed to a php script that matches with a database.
if true, it echo "verif=yes" if not "verif=no";
the actionscript:
logincheck = new LoadVars();
logincheck.onLoad = function()
{
gotoAndPlay("end");
}
loginsend = new LoadVars();
loginsend.login = login;
loginsend.pass = pass;
loginsend.sendAndLoad("login.php", logincheck, "POST");
frame "end"
//to test return value
checker.text = logincheck.verif;
if(logincheck.verif == "yes")
{
gotoAndPlay("start");
}
else
{
gotoAndPlay("error");
}
no matter what it ALWAYS send me to "error" even if it is the right info and checker displays YES as returned answer from PHP... anyone has an idea what I missed?
thakns.!
Tryintg To Set Up Password Page With No Hard-coded Information In Flash Movie
What I'm trying to do is set up a password checker in MX that has no hard-coded information in the flash movie, perhaps using two input text fields, putting the two entered values together, turning this into a variable and then comparing it the names of some .txt files.
Is that possible, or would something like that have to use php/xml or some other exterior language?
As a start, I'm thinking of setting up the adding together of the two variables like this:
code:
if ("+[_root.name.text]+[_root.password.text]+") {
}
but I'm not sure about the best way to compare these values to some other variable values without hard coding them into the script.
Any ideas, anyone?
How To Password Protect A Movie, Password Scrn With Multiple Frames
I'm trying to password protect one of my flash 5 clips but if the password entree screen has only one frame then anyone who wants acces the site can just right click and press "play". I need a way of disabling the right click menu on my movie, if thats impossible then I need a way of making the password enter screen multiple frames.
Help please!
Password Protection W/ E-mailed Password
I need a password protection gate that E-mailes a password to the visitor if they pay to enter the site. I really need this or I can't take this job I got. Please help. If can be anything like .html, .swf, .php, .etc.
I'm just a flash designer and I don't have a ton of knowlege in programing outside of flash and html.
Thanks!!!
Protected Fla
Just wondering if theres a way to open a protected fla file there have to be a way how to break the locks "note im using flash" 5 ...
Protected AS?
Hi,
Is there any method to protect AS in swf flash movies? I mean against some decoding softwares which are in the market to decode swf files.
Thanks
Protected .swf
Can anyone help, I am trying to gain access to a protected flash movie that was made by a late employee to incorporate some changes. Is there anyway I can do this or will I have to create the whole again?
If you can help it will save me a lot of time, many thanks
|