SAP Fiori how to  disable-web-security using code

Hi Guys
I have made SAP Fiori Application.
Its working on  google chrome browser after disable-web-security.
i need to disable web security on each & every browser, Ipad, Phone  befor start the fiori Apps.
Project on My Laptop Kepler Eclipse. I did not upload project on server.
Please guide me How I  can  disable web security using code on  Fiori UI ...
Tags edited by: Michael Appleby

Hi pankaj,
Hi,
write this code in your app
/supress the Same Origin Policy on IE8 & Chrome 
var domainString = "document.domain"; 
domainstring = "*.com" 
'Access-Control-Allow-Origin: *.sap.com' 
'Access-Control-Allow-Headers: X-KEY'
Regards
Umar

Similar Messages

  • How to disable web security in firefox

    Please let us know how to disable web security in mozilla firefox .
    I tried re-setting the below :
    security.fileuri.strict_origin_policy;true
    network.http.referer.XOriginPolicy
    but its not working.
    Whereas in chrome we have the below option to set websecurity :
    chromium-browser --disable-web-security
    Please advice.

    Hi,
    I understand that you would like to know how to disable web security in Firefox and you have tried: security.fileuri.strict_origin_policy;true and network.http.referer.XOriginPolicy. These are cross domain single origin policy that refers to a specific header int HTTP.
    The chromium-browser --disable-web-security essentially does the same thing. (Ideally) It seems from a couple of sources that this does not actually disable Cors as well? Hence (https://bugzilla.mozilla.org/show_bug.cgi?id=1039678)
    Please do report back with what you find!
    EDit: It sounds like the feature you are looking for has not been implemented yet.

  • How to disable the security code and use only the Touch ID

    how to disable the security code and use only the Touch ID

    You can't use Touch ID without a passcode.
    http://support.apple.com/kb/HT5883

  • How to call web-service using only java code

    Hello, how to call web-service using only java code. I can call it from BPM process or Web Dynpro Java Application, but if I need to call it from ejb component?

    I'm found answer:
    Java and SAP Portal blog: How to call web service from java code example

  • HOW TO DISABLE WEB CONSOLE IN A 2950 CISCO SWITCH

    HOW TO DISABLE WEB CONSOLE IN A 2950 CISCO CATALYST SWITCH ?

    I have disabled HTTP access but enabled HTTPS access on my switches. 
    switch(config)#no ip http server
    (this will disable web or http access)
    switch(config)#ip http secure-server
    (this will enable https access or no ip http secure-server will disable https access)

  • How you restore your security pass code if you have disabled your iPod, due to too many pass code attempts

    How you restore your security pass code if you have disabled your iPod, due to too many pass code attempts?

    If You Are Locked Out Or Have Forgotten Your Passcode
    iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    iOS- Understanding passcodes
         If you have forgotten your Restrictions code, then follow the instructions
         below but DO NOT restore any previous backup. If you do then you will
         simply be restoring the old Restrictions code you have forgotten. This
         same warning applies if you need to restore a clean system.
    A Complete Guide to Restore or Recover Your iDevice (if You Forget Your Passcode)
    If you need to restore your device or ff you cannot remember the passcode, then you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and re-sync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    Try restoring the iOS device if backing up and erasing all content and settings doesn't resolve the issue. Using iTunes to restore iOS devices is part of standard isolation troubleshooting. Restoring your device will delete all data and content, including songs, videos, contacts, photos, and calendar information, and will restore all settings to their factory condition.
    Before restoring your iOS device, Apple recommends that you either sync with iTunes to transfer any purchases you have made, or back up new data (data acquired after your last sync). If you have movie rentals on the device, see iTunes Store movie rental usage rights in the United States before restoring.
    Follow these steps to restore your device:
         1. Verify that you are using the latest version of iTunes before attempting to update.
         2. Connect your device to your computer.
         3. Select your iPhone, iPad, or iPod touch when it appears in iTunes under Devices.
         4. Select the Summary tab.
         5. Select the Restore option.
         6. When prompted to back up your settings before restoring, select the Back Up
             option (see in the image below). If you have just backed up the device, it is not
             necessary to create another.
         7. Select the Restore option when iTunes prompts you (as long as you've backed up,
             you should not have to worry about restoring your iOS device).
         8. When the restore process has completed, the device restarts and displays the Apple
             logo while starting up:
               After a restore, the iOS device displays the "Connect to iTunes" screen. For updating
              to iOS 5 or later, follow the steps in the iOS Setup Assistant. For earlier versions of
              iOS, keep your device connected until the "Connect to iTunes" screen goes away or
              you see "iPhone is activated."
         9. The final step is to restore your device from a previous backup.
    If you can not restore your device then you will need to go to recovery mode.
    Placing your device into recovery mode:
    Follow these steps to place your iOS device into recovery mode. If your iOS device is already in recovery mode, you can proceed immediately to step 6.
         1. Disconnect the USB cable from the iPhone, iPad, or iPod touch, but leave the other end
             of the cable connected to your computer's USB port.
         2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the
             red slider appears, then slide the slider. Wait for the device to turn off.
              If you cannot turn off the device using the slider, press and hold the Sleep/Wake
              and Home buttons at the same time. When the device turns off, release the Sleep/Wake
              and Home buttons.
         3. While pressing and holding the Home button, reconnect the USB cable to the device.
             The device should turn on. Note: If you see the screen pictured below, let the device
             charge for at least ten minutes to ensure that the battery has some charge, and then
             start with step 2 again.
         4. Continue holding the Home button until you see the "Connect to iTunes" screen.
             When this screen appears you can release the Home button.
         5. If necessary, open iTunes. You should see the following "recovery mode" alert:
         6. Use iTunes to restore the device.
    If you don't see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Additional Information:
    Note: When using recovery mode, you can only restore the device. All user content on the device will be erased, but if you had previously synced with iTunes on this computer, you can restore from a previous backup. See this article for more information.

  • How to disable 'display pdf (using Acrobat Pro X) in browser'?  Note:  The option is unavailable to un-check box.

    How to disable 'display pdf (using Acrobat Pro X) in browser'?  Note:  The option is unavailable to un-check box.

    Hi URT301,
    Please see this document: PDF Ownership when Reader X is Installed with Acrobat. You'll find several solutions to this problem in the FAQ section.
    Please let us know how it goes.
    Best,
    Sara

  • How to create web site using STRUTS frame work

    Hi,
    I know how to create web pages using JSP & Servlets.But now i have to create Matrimonial web site using STRUTS frame work.Plz any one guide for me...
    Thank U....

    Struts is not to be confused with JSF.
    Start at their own homepage over there at apache.org.
    Good luck.

  • How to develop web service using Intellij Idea 6.0

    How to develop web services using Intellij Idea 6.x. A sample web service and service client is needed with full procedure. Thanx in advance.

    Web service is technology not a tools that bundle with IDE.
    For example you can't say how can I develope object orented program with Eclipse.
    1- You should get some general info about SOAP, WSDL and Web sevice usage
    2- Start to implmenet a simple Hello world web service and deploy it on application(web service) server
    3- Write Client code and test it.
    for step 2,3 Apache Axis(2) could be a good solution for developement or you can use JAX-WS for sun

  • How to develop web application using ejb3.0 with eclipse

    Hi ,
    I am new to ejb3.0 with eclipse. If any one familar that please guide me...
    how to develop web application using ejb3.0 with eclipse.please help me... server jboss4.2.2. database mqsql5.0
    Thanks,

    jsf_VWP5.5.1 wrote:
    I am new to ejb3.0 with eclipse. If any one familar that please guide me...http://help.eclipse.org/help33/index.jsp

  • How to disable "Selection Security" in a correct way?

    hi experts!
    how to disable "Selection Security" in a correct way?
    !http://img689.imageshack.us/img689/2748/28668107.png!
    thanks!

    Hi...
    Open "Catalog Manager" and
    navigate to Shared -> "Shared Folder Name" (ex: Sample Sales) -> _Portal.
    Here you find all dashboards. Open the dashboard that you already enabled selection. In that dashboard folder you find one more folder with name: _selections*
    Delete the _selections* folder.
    You will get Enable option again in front end.
    All the best

  • How to call web service using J2SE 1.3?

    Dear All,
    i have developed a web service by jdev 10.1.3 (JAX-RPC with web service security
    enabled).
    i generate the ws proxy (jdev 10.1.3) and run it with wsclient_extended.jar (required JDK 1.4.1 or above??).
    but one of my client say he has to use J2SE 1.3.x (as OS=AIX 4.3 that without J2SE
    1.4.x ), could anyone tell me how can generate ws proxy (with supporting
    library) for jdk 1.3.x?
    if oracle don't have such library / tools, any third party tools / library available?
    thank you.
    lsp

    I'm found answer:
    Java and SAP Portal blog: How to call web service from java code example

  • How to create Web Services Using EP7

    Hi
    I got a chance to work on Web Service using EP7 and i am new to web services
    This is the first time i am working on Web Services
    so please can you guide me where to start and how to start.
    if possible reffer some links regarding web services.
    regards
    mmukesh

    Hi Mukesh,
    Please refer to the document
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60046fb9-ac5b-2910-08a6-b7b04b463c62
    Thanks
    Sarang

  • SAP Logon - how to disable popups while playing tests (QC and  TAO)

    Hello,
    I am using QC 10, QTP 10 SAP TAO 2.03.
    I recorded and cofigured sample scripts and now I am planning to run it from QC during night. There is one problem to run scripts someone needs to accept popups initiated by sap logon at the beginning of test run -
    So my question is how to disable the logon popup windows and fully automate runs?
    Thank you in advance for your help
    Edited by: Ksan_1 on Apr 1, 2011 9:04 PM

    It is just the beginning of replaying the test.
    When i initiate the test eg from the QC the very first operation is to confirm 2 popups. First informs about starting the gui and. Second is confirmation that script would be initiated. In the system.
    So i need human interaction to initiate each SAP and this is part i want to eliminate.
    Is there any way to disable the initial popup?

  • Running Lion 10.7.5, how to disable sslv2 and use only RC4 ciphers to solve vulnerability found in PCI compliance vulnerability scan.

    This is what the scan report told me to do. Is this even a problem that can be solved in a browser? I have akamai installed on my mac and they say that may be giving a false problem concerning the sslv2. I have no idea how to change the ciphers used.

    ATT says the modem for household use that I have cannot be configured to use the more secure CR4 cipher and disable sslv2 settings. Says I need to get a modem designed for business network use. What a nightmare. All I do is go to a pay gateway website and enter in my customer's credit card numbers, which then is deposited into my bank account. Seems this is the same as any credit card purchase I would make online and that ATT should have security for those transactions covered already. The pay gateway site does use CR4, but the scan has failed me because apparently my modem does not. I am not operating an e-commerce website. (I meant to say false POSITIVE in my question above, not false problem.)

Maybe you are looking for

  • Mini DVI to VGA Adapter w/ extension cable

    I would like to get a Mini DVI to VGA Adapter for my macbook. Does anyone know how it would would if I used it with a VGA extension cable. Any experience will be helpful

  • FBL1N - field for open item at key date

    Hi All, we are developing a customising report like FBL1N. for vendor open itesm, we have table BSIK. In that table, we could not find field for open items at key date. Could you please suggest which field we can use in table BSIK for that. Regards D

  • Undownloaded podcasts marked as unplayed

    I'm on Windows 7. After installing iTunes 11.2, a heap of old podcasts from my subscribed podcats have been marked as unplayed - 1,500 so far. These are podacsts that I have not downloaded and I don't want to listen to (about 500 are old 'Stuff you s

  • Recovery Partition on new HD

    I recently replaced my hard drive on my MBP and used time maching to get all of my stuff back to my new HD.  Is there a way to install the recovery partition on the new drive as well or am I forced to use the internet based recovery?

  • Can't find itunes radio on ios 7

    hello, my wife's phone was just recently updated to ios 7 and everything is working except for the fact that we can not find itunes radio under the "music" app.  both of our phones side by side show that my phone has genius and itunes radio, but my w