Skip to main content

URL Masking With Page Retrieval Software

This is software that retrieves a web page and then displays it in the browser.

PHP or SSI (in conjunction with a CGI program) can be used. Other programming languages can be used, also, like ASP.

With PHP, the program code is generally right in the web page source code. With SSI, the SSI tag calls an external program to fetch the web page.

The code on the PHP/SSI web page retrieves the remote web page, inserts a base URL tag into the retrieved web page source code, then displays the contents of the retrieved web page. The URL in the browser's address bar does not change.

You end up with the contents of a web page in the browser window that is located at a URL different than the URL in the browser's address bar. The web page originally loaded into the browser and the web page retrieved from elsewhere may be on different domains.

There are no visual clues that the web page being displayed is not at the URL in the browser's address bar unless the web page being displayed itself contains clues.

Here is how to do it using PHP.

Create a PHP web page that loads the target web page and displays it.

Make a web page with the following code. Change the URL in the second line of the code to the URL of the web page to be displayed in the browser.

Put only the above into the web page. Use no HTML or BODY or other normal web page tags except as coded above.

Upload the PHP web page to your server. Load the PHP web page into your browser.

You'll notice that the URL of the PHP web page is in your browser's address bar even while a different web page, the one you specified in the second line of the above code, is displayed in the browser window.

That's the simplicity of URL masking with page retrieval software.

Preventing URL Masking With Page Retrieval Software

Put this JavaScript code somewhere in the web page to be protected will break the web page out of frames and put its own URL into the browser's address bar.

On the second line of the above code, type the domain name of the web page to be protected. Just the domain name, not including http:// or www.

On the third line of the above code, type the URL of the web page where the browser is to be redirected to if it is displayed with URL masking by page retrieval software. This redirect URL might be the URL of the web page that is being masked or it might be the URL of some other web page, one with a "don't steal content" message, for example.

URL Masking

There can be good reasons to use URL masking. And it can be misused.

Here, you learned how to do it and also how to protect your web pages from unauthorized masking.

Question: Did you find this article interesting and understandable? How can it be improved? Your response is anonymous. When done typing, click anywhere outside the box.
If your response inadvertently gets sent before you were ready, simply continue your message in the newly cleared box. When we receive the parts, we\'ll put them together for a complete response.

Your response is anonymous. If you desire a personal reply from us (which we are glad to give), then your contact email address must be included.

')" style="white-space: nowrap; cursor: pointer; color: rgb(0, 81, 114); font-weight: bold;">[more info]

Comments

Popular posts from this blog

Financial Engineering

Financial Engineering: Key Concepts Financial engineering is a multidisciplinary field that combines financial theory, mathematics, and computer science to design and develop innovative financial products and solutions. Here's an in-depth look at the key concepts you mentioned: 1. Statistical Analysis Statistical analysis is a crucial component of financial engineering. It involves using statistical techniques to analyze and interpret financial data, such as: Hypothesis testing : to validate assumptions about financial data Regression analysis : to model relationships between variables Time series analysis : to forecast future values based on historical data Probability distributions : to model and analyze risk Statistical analysis helps financial engineers to identify trends, patterns, and correlations in financial data, which informs decision-making and risk management. 2. Machine Learning Machine learning is a subset of artificial intelligence that involves training algorithms t...

Wholesale Customer Solution with Magento Commerce

The client want to have a shop where regular customers to be able to see products with their retail price, while Wholesale partners to see the prices with ? discount. The extra condition: retail and wholesale prices hasn’t mathematical dependency. So, a product could be $100 for retail and $50 for whole sale and another one could be $60 retail and $50 wholesale. And of course retail users should not be able to see wholesale prices at all. Basically, I will explain what I did step-by-step, but in order to understand what I mean, you should be familiar with the basics of Magento. 1. Creating two magento websites, stores and views (Magento meaning of website of course) It’s done from from System->Manage Stores. The result is: Website | Store | View ———————————————— Retail->Retail->Default Wholesale->Wholesale->Default Both sites using the same category/product tree 2. Setting the price scope in System->Configuration->Catalog->Catalog->Price set drop-down to...

How to Prepare for AI Driven Career

  Introduction We are all living in our "ChatGPT moment" now. It happened when I asked ChatGPT to plan a 10-day holiday in rural India. Within seconds, I had a detailed list of activities and places to explore. The speed and usefulness of the response left me stunned, and I realized instantly that life would never be the same again. ChatGPT felt like a bombshell—years of hype about Artificial Intelligence had finally materialized into something tangible and accessible. Suddenly, AI wasn’t just theoretical; it was writing limericks, crafting decent marketing content, and even generating code. The world is still adjusting to this rapid shift. We’re in the middle of a technological revolution—one so fast and transformative that it’s hard to fully comprehend. This revolution brings both exciting opportunities and inevitable challenges. On the one hand, AI is enabling remarkable breakthroughs. It can detect anomalies in MRI scans that even seasoned doctors might miss. It can trans...