Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6753657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:11:19+00:00 2026-05-26T13:11:19+00:00

I’m building a PHP Web Application for Company A in which users can login

  • 0

I’m building a PHP Web Application for Company A in which users can login and manage certain items in their inventory. I want to host this application myself for reasons such as maintenance, to make sure the servers meet expected performance standards and because Company B or C might also want the same service.

What Company A (B and C also) wants is to have this application be accesible from their a subpage on their domain. I’ve gone through possibilities of URL rewriting and linking, but i’ve decided to use iframes to display the application on their website.

I’ve used iframes before, but never when dealing with private data, so i’m not very familiar with the security risks attached to using iframes. A lot of the examples i found after googling were risks attached to hackers adding iframes with their own destination to existing code, as opposed to harmfully use an existing one. What should I look out for and try to prevent from happening?

In case im completely off with this, what other method could i use instead of iframes? Given the above-mentioned requirements of course.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:11:20+00:00Added an answer on May 26, 2026 at 1:11 pm

    To start, your best solution is probably to use a subdomain pointing to your server hosting the app. So Company A can have their regular web site on companya.com but have the application on app.companya.com.

    Regarding frames, I don’t think in your situation there are any security “risks” to worry about. The iframe will belong to you and you control it. Javascript’s Same Origin Policy prevents frames on different domains (and subdomains unless document.domain is set) from accessing each other. So the iframe won’t be able to access the parent and vice-versa.

    However I’m assuming the application is free standing and doesn’t rely on anything from the parent site. In which case, everything would happen in the frame and there’s no need for the frames to communicate in any way.

    The disadvantage of frames of course is that the apparent URL and page title will remain the same when you load new pages in the iframe, which is bad usability (and bad for SEO, if that is a concern).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I would like to count the length of a string with PHP. The string
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have a jquery bug and I've been looking for hours now, I can't
this is what i have right now Drawing an RSS feed into the php,
Seemingly simple, but I cannot find anything relevant on the web. What is the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.