Webapp does not share cookies with Safari in iOS7

We use Safari to store authentication cookies for our webapp.  The user will go to our site and authenticate themselves, then create an bookmark in their home screen.  When starting the webapp from the home screen, the cookies that was saved in Safari are no longer accessible in iOS7.  This cause the user to have to go through the authentication process again.  This was working in iOS6 up until upgrading to iOS7. 

They get to your page, I presume, by clicking a link, so you can structure the href in the link to include the encrypted credentials parameter you want to use.  You have complete control over the URL that they are being told to add to their home screen.  [If you wanted to, you could use javascript and a window.location change, but I'm not sure I see the point. You could also add this credential as a hashtag reference instead of a get parameter, either via javascript or not, but again, I'm not sure there's much point to that.]
For a very secure application, however, it's a little dangerous, because anyone else can use those same encrypted parameters on an installed iphone app, as well as being able to look at your code to see how you decrypt them (unless you decrypt them only on the server side).
For my app, security is minimal and there's no risk, but this isn't a very good solution for a proper app.
A better option might be to create a one-use credential on the server side, and to add a reference to that as a parameter in the link to the iPhone web app page.  When the iphone app is installed and first run outside of Safari (window.navigator.standalone is true), then you can use the one-use credential parameter to look up the credentials, log the user in, and delete the one-use credential on the server side so it can never be used again.
Of course, your app will still require a way for the user to log back in somehow, but this would take care of a first time automatic logi in, and further communication could get credentials from the server into the web app's local storage, for future automatic log in, if you feel secure in doing so.

Similar Messages

  • Has anyone noticed that comcast does not play well with safari, especially around e-mail and voice mail?

    Is anyone else having trouble with safari working with comcast?  I've spoken to both the comcast people (no help what so ever) and the apple people with no success at all.  I like the safari format and don't want to change.
    Teresa

    MacBook Pro
    MacBook Pro Apple Support
    Mail Troubleshooting email messages
    Mail and Address book
    Mail Support Apple
    Safari
    Much better forums to bookmark and use rather than one devoted to workstations.

  • New window does not automatically open with Safari

    When I open Safari by clicking on the icon in the dock, the menu at the top looks like Safari is open, but no window opens. I then have to click on:
    File>New Window to actually open a window and browse.
    This just started happening.
    Any solutions out there?

    I copied the file that is meantioned to the desktop, opened it by doubleclicking and searched for ”OpenWindow”. You'll find it a few lines from top. It has no number typed so I typed ”1” and closed the app. It asked me to save with extension ”.ooutline”. You can save it with that extension but on the desktop you'll need to re-name its extension to ”.plist”. I did that and dragged the file back to its original location. You'll be asked if you would like to replace the file, click Yes. Now I have a Safari opening the window as usual.
    This can happen in case you re-install the operative system on your Mac, the Safari is updated but the Safari on the CD is older, which is overwriting your newer Safari you already have with the older version from the CD-ROM and this problem occur: you see Safari opening up, you see the menues on top of your screen but no window is open in Safari.
    I hope this helps.
    G5 2x2,5 MHz   Mac OS X (10.3.9)  

  • Has anyone noticed that comcast does not play well with safari, especially around email and voice mail?

    Is anyone else having trouble using safari with comcast?

    MacBook Pro
    MacBook Pro Apple Support
    Mail Troubleshooting email messages
    Mail and Address book
    Mail Support Apple
    Safari
    Much better forums to bookmark and use rather than one devoted to workstations.

  • Safari does not safe COOKIES!!! FIX IT, IM TIRED OF TYPING MY 16 numbers banking card.

    Safari does not remember cookies, any suggestions?

    Like Philly said, cookies has NOTHING to do with this.  Even my computer doesn't remember my bank card.  I would never want anything to remember my credit card numbers.  Way too dangerous.

  • When i sync my iphone5 on my computer with itune the last part does not stop sync download safari i dont know why is not sync and i cant stop it i am try to download some song and this thing cant stop sync help?

    when i sync my iphone5 on my computer with itune the last part does not stop sync download safari i dont know why is not stop sync and i cant stop it i am try to download some song and this thing cant stop sync help?

    Hi,
    /Users/sarahschadek/Desktop/Safari.app/Contents/MacOS/Safari
    Move the Safari app from the Desktop to the Applications folder.
    Restart your Mac.
    That's why you see this:
    When I try to do the updates my computer says it has ready it goes through like it is downloading them then at the end it says some of the files could not be saved to "/" files.
    After your restart your Mac, click the Apple  menu (top left in your screen) then click:  Software Update ...
    Carolyn  

  • Since I did the Firefox reset, I try to open my email and it says, Your browser does not accept cookies. I have checked the cookies setting 100 times!

    Since I did the Firefox reset, I try to open my email and it says, Your browser does not accept cookies. I have checked and done your suggested setting 100 times!

    Note that a reset tries to migrate cookies to the new profile, so if you had previously as problem with cookies then the problem might have been carried over.
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox profile folder in case the file cookies.sqlite got corrupted.
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies

  • Hi, I got a virus that does not let me use Safari. I downloaded an av from the app.store but it did not detect anything. I am thinking in formatting the HD. How can I do it and will I lose?

    Hi, I got a virus that does not let me use Safari. I downloaded an av from the app.store but it did not detect anything. I am thinking in formatting the HD. How can I do it and will I lose?

    1. Force Quit .
        Press command + option + esc keys together at the same time. Wait.
        When Force Quit window appears, select the Safari if not already.
        Press Force Quit button at the bottom of the window.   Wait.
        Safari will quit.
        Relaunch Safari holding the shift key down.
    2. Safari > Preferences > Extensions
        Turn those off and try Safari.
    3. Safari > Preferences > Privacy > Cookies and other website data:
        Press “Remove all website data” button.
    4. If adware is installed without your knowledge,
        download  free  AdwareMedic by clicking “Download ” from here
        http://www.adwaremedic.com
       Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
       Once done scanning and removing the adware, quit the app by clicking AdMedic in the menubar
        and selecting “Quit AdwareMedic”.

  • I just installed the new firefox for Mac OSX 10.6.8 and when I select an image on a site (right click and copy) and paste in Photoshop 5.5, the image lightens. It does not do this in Safari.

    Question
    I just installed the new firefox for Mac OSX 10.6.8 and when I select an image on a site (right click and copy) and paste in Photoshop 5.5, the image lightens. It does not do this in Safari.

    Firefox, Safari, and PhotoShop each handle embedded color profiles differently. For an add-on that makes it easier to experiment with Firefox's color management options, you might be interested in: [https://addons.mozilla.org/en-US/firefox/addon/color-management/ Color Management :: Add-ons for Firefox]. I haven't tried it myself.

  • New IPad mini does not share photos using Photo stream

    New IPad mini does not share photos using Photo stream. Turned on sharing on both devices and also setup bluetooth both devices and they are connected. have photos on my mini put does not send to my Mac using photo stream
    Gary

    Photo stream doesn't use bluetooth; only wifi.  Photos added to the camera roll on your device are automatically added to photo stream when the camera app is closed, your device is connected to wifi, and it has at least 20 % battery life remaining.  Also, only photos added to the camera roll after enabling photo stream are uploaded, not photos prior to enabling photo stream.  If the photos appear in your my photo stream album on your iPad Mini, then they were successfully added to your photo stream.
    To share them with your Mac, your Mac must be running OS X Lion (10.7.4) or higher, and you must have either iPhoto 9.2 or higher or Aperture 9.2 or higher.  If you do, you must sign into your iCloud account in System Preferences>iCloud and check Photo Stream in order for the photos to automatically be added to iPhoto (or Aperture).  This is explained here: http://www.apple.com/icloud/setup/mac.html.

  • Time Machine does not cope well with nearly-full disk

    Although Time Machine is supposed to delete old backups when the disk fills up, under some circumstances it does not cope well with a disk-full condition.
    Hardware: iMac (mid 2007)
    OS: Mac OS X version 10.6.8 (Snow Leopard)
    Processor: 2.8 GHz Intel Core 2 Duo
    Memory: 2 GB 667 MHz DDR2 SDRAM
    The other day I noticed that I had not had a successful Time Machine backup in over a day. Backups were taking a long time to run (4 hours or more), during which time the backup disk was chattering constantly and the disk showed "Estimating index time" in the Spotlight menu (even though I had excluded the disk from Spotlight indexing). When the disk finally stopped chattering, the backup finished with no visible errors but Time Machine continued to state that the last successful backup was yesterday. The backup disk was nearly full, but I had assumed that Time Machine was designed to cope with this situation by deleting old backups.
    A complete annotated log file of the incident and my observations can be found here: http://bentopress.com/backup.log.zip
    Here are some of the interesting entries from the system.log file:
    Sep  7 16:22:14 Bento-iMac com.apple.backupd[56515]: Starting standard backup
    Sep  7 16:22:14 Bento-iMac com.apple.backupd[56515]: Backing up to: /Volumes/My Backup Disk/Backups.backupdb
    Sep  7 16:23:07 Bento-iMac com.apple.backupd[56515]: No pre-backup thinning needed: 100.0 MB requested (including padding), 137.2 MB available
    Sep  7 16:25:49 Bento-iMac com.apple.backupd[56515]: Copied 32984 files (23.7 MB) from volume iMac HD.
    Sep  7 16:25:53 Bento-iMac com.apple.backupd[56515]: No pre-backup thinning needed: 100.0 MB requested (including padding), 108.4 MB available
    Sep  7 16:25:57 Bento-iMac KernelEventAgent[47]: tid 00000000 type 'hfs', mounted on '/Volumes/My Backup Disk', from '/dev/disk1s3', low disk, very low disk
    Sep  7 16:25:58 Bento-iMac mds[45]: (Normal) DiskStore: Rebuilding index for /Volumes/My Backup Disk/Backups.backupdb
    Sep  7 16:25:58 Bento-iMac KernelEventAgent[47]: tid 00000000 type 'hfs', mounted on '/Volumes/My Backup Disk', from '/dev/disk1s3', low disk
    Sep  7 16:25:59 Bento-iMac mds[45]: (Normal) DiskStore: Creating index for /Volumes/My Backup Disk/Backups.backupdb
    Sep  7 16:26:00 Bento-iMac KernelEventAgent[47]: tid 00000000 type 'hfs', mounted on '/Volumes/My Backup Disk', from '/dev/disk1s3', low disk, very low disk
    Sep  7 16:26:00 Bento-iMac mds[45]: (Warning) Volume: Indexing reset and suspended on backup volume "/Volumes/My Backup Disk" because it is low on disk space.
    Sep  7 16:26:02 Bento-iMac mds[45]: (Normal) DiskStore: Reindexing /Volumes/My Backup Disk/.Spotlight-V100/Store-V1/Stores/35367D91-8096-4D43-802B-A8658DBAB581 because no basetime was found.
    Sep  7 16:26:02 Bento-iMac mds[45]: (Normal) DiskStore: Rebuilding index for /Volumes/My Backup Disk/Backups.backupdb
    Sep  7 16:26:04 Bento-iMac mds[45]: (Normal) DiskStore: Creating index for /Volumes/My Backup Disk/Backups.backupdb
    Sep  7 16:26:14 Bento-iMac com.apple.backupd[56515]: Error: Flushing index to disk returned an error: 0
    Sep  7 16:26:14 Bento-iMac com.apple.backupd[56515]: Copied 776 files (17.3 MB) from volume iMac HD.
    Sep  7 16:26:15 Bento-iMac com.apple.backupd[56515]: Backup canceled.
    Note the "error: 0". Error code zero normally indicates success.
    There were also many, many, many copies of the following message, which occurred while Spotlight was trying to index the backup disk:
    Sep  7 17:28:40 Bento-iMac com.apple.backupd[58064]: Waiting for index to be ready (100)
    Here's what I think is happening: at the very end of the backup, after the files have been copied to the backup disk, mds resets indexing because the disk is now full. backupd's attempt to flush the index to disk then fails because indexing is suspended (error zero), so the backup is canceled. I suspect that this may occur when the new backup and the old one(s) being deleted are both small enough that the disk "packs" tightly, leaving no room for the index. If a large (>500MB) old backup had been deleted to make room for a small (<100MB) new one, the problem would not have occurred.
    I worked around the problem by switching Time Machine from the full disk to my Time Capsule. (I did not have this system backing up to the Time Capsule originally because I purchased the Time Capsule later for a different system.) The downside of this is that I lost access to older backups (though they are still accessible by right-clicking on Time Machine in the dock and selecting "Browse other Time Machine disks..."—however, I have not actually tried this). I'm also not completely happy having both my main systems backing up to the same hardware, but everything seems to be working well at this point and I do have a secondary backup system, using SuperDuper to clone the systems' disks to an external HD, which I do about once a month.
    Although I have worked around the problem, I am posting this in the hope that it will be useful to someone else, in the hope that someone at Apple will notice and perhaps improve the performance of Time Machine in this situation, and also in the hope that someone can suggest a solution that does not involve throwing a bigger disk at the problem. Is there any way to free up space on Time Machine's backup disk, for example by manually pruning older backups, either through Time Machine itself or via the Finder or command line?

    If you suspect that the disk being full is the problem, have you tried deleting some of the old backup data on the TM disk?
    When in TM, go back to the past a long way, right click on a file/directory and select "delete backup". Do this on some big files you have (so that you get more space per removal) that you change all the time (so you'll still have recent backups).

  • After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    I see this on Apple's support page:
    Available for: OS X Lion v10.7.5, OS X Lion Server v10.7.5, OS X Mountain Lion v10.8 and v10.8.1

  • Adobe Reader does not automatically associate with PDF files in Xp Sp3

    I have reinstalled Reader (twice) and it does not automatically associate with PDF files.
    How do I fix this problem?
    Cheers, JH

    The thing is, when I right click a pdf file, and then go to properties, change default program to open with, select browse, I select it in the correct folder, when I click open, it doesnt open and the programs stay blank, so I cant select anything. There is nothing to select. And I have re-installed. But at the end of the install there are no options what file types to associate with. Any way to do it inside Reader?
    I have reader 9.2.0. and Win7 up to date. When I'm opening and closing allot of files the whole time, I don't want to do inside reader. Help please?

  • Does not start up with last viewed Tabs even though chosen in options?

    V 4.01 with Vista. Even after choosing the correct option in options>options>General FF does not start up with the last session of Tabs and Windows. It always opens with a single blank Tab. What am I doing wrong?

    Make sure that you do not use [[Clear Recent History]] to clear the "Browsing History" if Firefox is closed because that prevails and prevents Firefox from opening tabs from the previous session.
    If you use CCleaner then make sure that Session is unchecked in the settings for the Firefox application.

  • Have tried to install icloud 4.0 for windows and again it does not allow syncing with outlook 2013 calendar and contact using windows 8.1 and IOS 8.02 (unexpected error)? I thought itunes 12.0 and icloud 4.0 would solve issue but still same result.

    I have tried to install icloud 4.0 for windows and again is does not allow syncing with outlook 2013 calendar and contact, using windows 8.1 and IOS 8.02 (get - unexpected error)?

    Having same issues. had been syncing every few days with outlook 2007 contacts and calendar but since updated to 4.0.2 and latest itunes I get an error that it is unable to sync. I can't seem to find any solution.

Maybe you are looking for

  • Unable to call c++ .so file in java

    this is my java file prog1.java class prog1      static           try                System.loadLibrary("test");           catch(UnsatisfiedLinkError ule)                System.out.println(ule);                //ule.printStackTrace();      public sta

  • Need to open the iview in the same window using the navigateObsolute method

    Hi Guys, Iam facing a problem using the Navigate Obsolute method. I want the target iview to be displayed on the same window rather than the seperate window. For this I have selected the WDPortalNavigationMode as SHOW_INPLACE. Still  the target iview

  • Xcode is running from a volume that does not support ownership. Please move Xcode to one that does.

    I have Problem,  I can't install Xcode 6.1 on my iMac due "Xcode is running from a volume that does not support ownership. Please move Xcode to one that does." I have two HD partition, First one I use for my Lion OS, and the second I just installed Y

  • Application Mime File Type Preferences

    I'm stumped! I've gone through the entire user preferences, application support files, and library files and still cannot locate which file is containing the settings for mime type application association with .php files. I am having an issue with Fi

  • Reservation in MD04 -reg

    Hi , For a material in MD04 , reservation created is being shown but not considered while calculating the available quantity reservation is craeted for the movement type 201  for the material for tomorrow date (28.04.2010) . its shown along with othe