Make iPad access only site by passing code from app to site?

I have a website built to work with my app and would like to restrict access to the site so only people using the app can access the page. Is there an easy way to do this? Pass code from the app to the site to allow it in?
Thanks,

Wow, DW inserts a lot of code... I would suggest taking a look at SWFObject. It's the best and easiest way to embed a SWF in a page and it makes it very easy to pass in FlashVars. If you use SWFobject your code would be more like:
<script type="text/javascript">
var flashvars = {location:"BlankMenu", scene:"NOMenu"};
var params = {allowscriptaccess:"samedomain", menu:"true"};
swfobject.embedSWF("../flash/ucfshsunitmenu.swf", "myContent", "150", "500", "9.0.0", "", flashvars, params);
</script>
And that would embed the swf in a div with an id of myContent. Much cleaner, IMO.
Also, to get at the FlashVars all you need is like:
var menuLocation:String = loaderInfo.parameters.location;
var menuScene:String = loaderInfo.parameters.scene;

Similar Messages

  • My ipad is asking for a pass code to install updates - never done before and I haven't set one.  What next?

    My ipad is asking for a pass code to perform the software updates.   It has never done this before and I haven't set a pass code.  How do I find, amend or delete this?

    It's asking for the passcode you use to lock/unlock your iPad.

  • HT1212 how do i rest pass code on an ipad if i forgot the pass code?

    How do I rest pass code on an ipad if I forgot the pass code?

    I hope you have updated your iPad! If not you will lose everything. You will need to a full restore as Johnathan said. http://support.apple.com/kb/ht1212
    If you have backed it up follow the process on the link provided and then restore it with this link http://support.apple.com/kb/ht1414
    Good Luck!
    joe1828

  • I want to upload HTML code from an existing site and then revise in Muse. Is this possible?

    I want to upload HTML code from an existing site and then revise in Muse. Is this possible?

    HTML files from an existing site cannot be reused in Muse as Muse works only with files having extension as .muse.
    However, you use apps like Dreamweaver to edit your existing HTML files.

  • HT201272 I can not sync a tv show from my old Ipad to new one,  lost pass word from old purchases.  what to do ???

    I can not sync a tv show from my old Ipad to new one,  lost pass word from old purchases.  what to do ???

    found it!here it is http://www.getsharepod.com/
    you just have to install this software, connect your old ipod, copy all the files inside your old ipod to your laptop and after that put them inside the new one!

  • Is it possible to export the html code from a muse site that I am building?

    Is it possible to export the html code from a muse site that I am building?

    Mac_Heibu has the right idea. When you export your site to HTML, it creates a folder that contains all of your pages. Here's an example of what the folder will contain. All of your HTML pages, all your scripts, CSS, and it'll also have individual folders WITHIN your main folder for your phone or tablet versions, if applicable. This method allows you to upload your files to an FTP host. However, if you're trying to upload it to an FTP, the BETTER option would be to go File > Upload to FTP Host. If this has helped you, please mark mac_heibu's answer as the Correct Answer, and feel free to mark my reply as a Helpful Answer.

  • HT1212 iPod says disabled connect to itunes...  wrong pass code from my 10 year old.  I put to recovery mode and 10 minutes into restore it tells me to put the pass word in but the iPod is still locked... help

    IPod says "disabled connect to itunes"...  wrong pass code from my 10 year old.  I put to recovery mode and 10 minutes into restore it tells me to put the pass word in but the iPod is still locked... help  I can't put the pass code in and I can't recover.... He feel awful!

    https://discussions.apple.com/message/16719363#16719363

  • I would like to remove the pass code from my iphone icloud account. I hate having to log in every time ti goes to sleep.

    How do I remove the pass code from my iphone icloud account? I hate having to log in every time my phone goes to sleep.

    Welcome to the Apple community.
    settings > general > passcode lock > off.

  • HT1212 Brand-new IPad locked - What's the Pass Code???

    Hi -
    I purchased an IPad 2 as a gift.  When I charged it up, it immediately asked for a Pass Code though one has never been set - at least by me.
    I tried the typical 1234, 1111, 0000, and none worked.  The Pad is disabled and I need to know how to get in.
    Thank you,
    Melissa

    If the iPad was running iOS 7,  iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • I gave my Mom new iPad - she's forgotten her pass code. She has now been locked out and told her "iPhone is disabled". How do I help her? We are 2 provinces away from each other!

    I gave my Mom an iPad. She has created an Apple ID (twice) and forgotten her pass code. She has now been locked out and told her "iPhone is disabled". How do I help her? We are 2 provinces away from each other!
    She is 75 and frustrated!  How do I walk her through this?
    Diane

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

  • HT4623 I can't open my ipad because they want a pass code

    I updated IOS and I can't open my ipad. It is asking for a pass code.

    regardless of how it got there, if u dont know the passcode ur gonna have to restore ipad using itunes. if ur itunes does not recognize the passcode u will have to put it into recovery mode to do that.
    recovery mode: turn the device off, hold down the home button while u plug it in and keep holding it down until u see an itunes logo on ur ipad. ur itunes should prompt u with a message stating it has detected a device in recovery mode. hit ok and then restore ipad.

  • I am stuck in an App with Guided Access and have forgotten pass code? Help!

    I have forgotten pass code for Guided Access and can not get of the App? I don't know what to do next? I have tried resetting by holding Home button and on/off for 10 seconds. What now?

    Hi Suzanne
    If you continue to be unable to guess the passcode by brute force attempts, you can connect the device to a computer that has synced the device and unlock things with a sync.
    If you have never synced with iTunes then you can try this:
    1.Hold the Lock Button
    2.Slide the Slide To Power Off slider [If touch is disabled/you're unable to slide it, do a hard reset — hold the lock and home button until the Apple Logo appears]
    3.When your iDevices powers up, immediately exit the app that automatically opens.
    4.Go to Settings > General > Accessibility > Guided Access
    5.Click Set Passcode
    6.Enter new password
    7.Reboot again.
    8.Wait for the app to automatically open and Triple tap the home button
    9.Enter the new password

  • How do I turn off the pass code from setting up find my iPhone?

    I downloaded the app for "Find My iPhone" and was messing with it lastnight.  I filled out the info and didn't realize this was to be done only if the phone was lost.  Now every time I use my phone I have to put in a pass code.  Is there any way to take this off?

    iPhone User Guide (For iOS 5.0 Software)

  • Firefox only can't play videos from Hamster web site

    Firefox plays videos from every other site but Hamster. IE and Chrome have no problems playing videos from this site

    Hi .
    Make sure your OS X software is up to date.
    Click the Apple  top left in your screen. From the drop down menu click Software Update.
    Or, open System Preferences > App Store > Check Now
    If your Mac is up to date, most news websites require Flash.
    Back to System Preferences > Flash Player then select the Advanced tab.
    Click: Check Now

  • Pass code lock app

    I'm looking for an app, if any, that would turn on the pass code lock when I leave my house. I know this app was available if you jailbroke your iPhone. I don't need my pass code on when I am home but at work it is handy. Is there an app or would apple incorporate this feature in the next iOS update? The reminder app has a similiar feature to where it uses the GPS to alert you when you leave or arrive at a predetermined location. I want the passcode to turn on when I either enter my home (GPS) or a predetermined wifi area. Thanks in advance.

    Forgot password or device disabled
    http://support.apple.com/kb/ht1212

Maybe you are looking for

  • Check broken links in Adobe Acrobat

    Hey everybody, I am searching for a Plugin for Adobe Acrobat 9.0 Professional, which check brocken links in a pdf-document and create a report with all brocken links. Here I mean links like www.microsoft.com. A broken link link is www.12nmu8098.com .

  • Error Code 2907

    Dear Apple Team, Please be informed that I am currently experiencing an issue flashing after i finished my call/ receiveng a call or miscalls, Showing this phrases as "ERROR in application occured Please call support qouting error code 2907". This is

  • Connect MySQL in Oracle Stored Procedure

    Hi everybody, I used JDev to create some classes to extract data from Oracle to a flat file. After compiling the class, I loaded into Oracle and created a stored procedure. Everything OK here... Though, I also need to extract data to a flat file from

  • Problem in displaying two fields in dropdown on selection screen

    Hi All, I have a reqmt where i need to display the dropdown list for certain field. For this perticular fields there is a description attached to it. Please let me know teh way where i can display the field with description in dropdown. Like field1  

  • Java Compiler

    I wrote three programs with the names 'A.java', 'B.java' and 'C.java' (abc package). When i compile 'javac *.java', sometimes it is not compiling the programs though it is not giving any compiler errors. A uses B class. Please can somebody explain me