LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-11-2013, 02:09 PM   #1
jlarsen
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware 14.1
Posts: 79

Rep: Reputation: 15
Remove dynamically created .html pages as soon as they are viewed? Or stream them?


Maybe I am searching for the wrong terms, but I can't seem to find anything on this.

The web pages are created dynamically and written to htdocs. What can be done to prevent somebody else from viewing the dynamically created pages by either guessing the file or doing a wget?

Can the pages be removed immediately after viewing somehow?

Better yet, is there a way to avoid writing the html file to htdocs and directly stream the page to the browser? I believe in the past we would write directly to the port, but when we started using frames that was no longer an option.

The web server being used is Apache.

Thanks in advance for any advice.

Last edited by jlarsen; 07-11-2013 at 02:15 PM. Reason: more detail
 
Old 07-11-2013, 02:47 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,838

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
A CGI generating a dynamic page that should only go to one user just writes it to stdout, not to a file. The server returns it as the response to that one http POST request and it is not saved anywhere. Responses to a GET request may be served from cached copies. Whether it's an iframe or the root does not matter.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Converting HTML/CSS pages created with php into PDF files ray@hendriksma.com Linux - Newbie 1 12-18-2012 05:21 PM
[Bug] UTF-8 man pages cannot be viewed guanx Slackware 7 04-20-2011 05:08 PM
[SOLVED] embedding flash to html pages for an rtmp stream tkmsr Programming 9 08-05-2010 05:45 AM
MS Publisher html pages for new web pages do not open in firefox, any suggestions?? Bwebman Linux - Newbie 3 06-13-2009 11:35 AM
Cookie Sharing Between CGI generated HTML pages and standard HTML pages rkwhited Linux - Newbie 5 08-15-2004 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration