Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-11-2013, 01:09 PM   #1
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 01:15 PM. Reason: more detail
Old 07-11-2013, 01:47 PM   #2
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 2,975

Rep: Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795Reputation: 795
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.


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 Linux - Newbie 1 12-18-2012 04:21 PM
[Bug] UTF-8 man pages cannot be viewed guanx Slackware 7 04-20-2011 04:08 PM
[SOLVED] embedding flash to html pages for an rtmp stream tkmsr Programming 9 08-05-2010 04:45 AM
MS Publisher html pages for new web pages do not open in firefox, any suggestions?? Bwebman Linux - Newbie 3 06-13-2009 10:35 AM
Cookie Sharing Between CGI generated HTML pages and standard HTML pages rkwhited Linux - Newbie 5 08-15-2004 07:39 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:23 AM.

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