Saving the source of html file generated using PLSQL into a client folder

Hi All,
I have generated html pages using htp procedure calls. On a button click, these html pages need to be stored as html files on a local client drive folder. My requirement says okay with resulting security issues.
I have a couple of queries.
1.Any client side javascript can fetch the source of a html file and can be saved as another file in a client drive?
2.Using PLSQL, i generated the html pages using htp procedure calls. Is there any way to save contents of the output to a specific folder. (using owa_util or utl_http packages or any other means)
Is there any way that i could do this.. Any help is appreciated.
Thanks in Advance.

> 1.Any client side javascript can fetch the source of a html file and can be saved as another file in a client drive?
No.
> 2.Using PLSQL, i generated the html pages using htp procedure calls. Is there any way to save contents of the output to a specific folder. (using owa_util or utl_http packages or any other means)
No, you cannot from PL/SQL simply write to that client's folder - unless a very complex and very insecure and very non-scalable method of dynamically mapping client folders are implemented.
This whole approach is also extremely insecure. If you can from the server push a page to a folder on a client, you can also push a binary "page" to a client folder - where this "page" is in fact a worm/virus/trojan that you simply write into the StartUp desktop folder to have it autostarted to install itself on that client.
Also - web browser automatically save the contents from a web server in their local cache. Thus the pages received are automatically saved locally. For the security reasons already mentioned, operating system and web browser treats this cache with suspicion as it could contain cached virus/worms/trojans - so the cache operates under extreme security conditions.
The correct way to handle this requirement is to state next to the URL for that HTML page that the user wants downloaded to right-click on it and to select the "SAVE URL AS" option to save it to a local folder.
Saving that page on the client is the client's responsibility and ownership - from security to simply deciding where that file must be placed on the client system.

Similar Messages

  • How to know the encoding of PCL file generated using HP universal printer PCL5

    Hi,

    varun1186,
    I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial printer. You can do this at http://h30499.www3.hp.com/hpeb/ .
    I hope this helps.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • [svn] 1363: 1) update the qa-regress build file to use 1.5 source level

    Revision: 1363
    Author: [email protected]
    Date: 2008-04-23 14:02:19 -0700 (Wed, 23 Apr 2008)
    Log Message:
    1) update the qa-regress build file to use 1.5 source level
    2) remove the duplicate MBeanServerGateway destination
    3) remove a comment from the mxml
    Modified Paths:
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/remoting-config.mods.xml
    blazeds/trunk/qa/apps/qa-regress/build.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/proxyService/httpservice/MultiHe aderTest.mxml

    Hi,
    If you remove the $ and braces (as shown below) it will work.
    <data-source-aliases>
    <aliases>
    <data-source-name>MYDS</data-source-name>
    <alias>BRANCH50DS</alias>
    </aliases>
    </data-source-aliases>
    Regards,
    S.Divakar

  • HT1660 the itunes library file cannot be saved.The disk you are attempting to use is full. What do i do?

    the itunes library file cannot be saved.
    the disk you are attempting to use is full.
    What do I do?

    Short term, free up some disk space. Long term, move the library to a bigger drive.
    tt2

  • Unable to Display Background Graphic From HTML File Generated from AI File

    I am trying to figure out if this is a MAC OS X or Safari issue. I have already a message into the author of the plug-in as well as created a posting on the Adobe Forum.
    I am following a tutorial on Lynda.com called "Design the Web: Illustrator to Animated HTML5 Canvas." I am using a plug in called Ai2CanvasMac with Adobe Illustrator, It essentially generates an HTML file from an Illustrator file. The Illustrator file has an embedded PNG file as a background image and a small vector graphic in front and centered. After the plug-in generates the HTML file, it automatically opens the file up in the browser. This is where I am getting mixed results.
    Safari: The small vector does appear and in the center where the embedded background should appear. But the background image isn't displaying, only a white background is showing.
    Firefox and Chrome: The page is totally blank. Not even the vector graphic appears.
    It will work with two different approaches.
    1. If I edit the source image web links in HTML file and use links from any graphics I find off the web. That works fine. The images are displayed in the browser window.
    2. If I embedded PNG images from my desktop into the Illustrator file and generate the HTML file. That works fine too.
    Does anyone have any ideas as to why I can't the graphics to display properly in the browser without doing this workaround?

    Hi,
    Ex. 1 - If the Index file is in the same directory, called "test"
    tales/numbers.jpg
    Ex. 2 - If the image is in a subdirectory, called "test1" within "test"
    test/test1/numbers.jpg
    img src="test/test1/numbers.jpg"
    Regards
    Ayyapparaj

  • I saved web page as html file, but can't open saved file as web page

    I did a FILE, SAVE PAGE AS, then chose 'WEB PAGE COMPLETE' - and a directory is created on my hard drive - with the directory name, for example - "c:\....\Ask a Question _ Mozilla Support.htm". (for this web page).
    When I try to open the saved web page from Firefox, using FILE, OPEN, I see a new window that looks like a file manager window, I then select that saved .html file and click OPEN, and a new window opens that looks like file manager - displaying with all the files in that directory - "Ask a Question _ Mozilla Support.htm". That is, it does not open and dislpay the web page as I expect it should (that I saved earlier).
    However, if I go to the file manager, I can see that directory is saved, and has the Windows Explorer icon associated with the directory "ask a question ....html", and also has a file type of HTML listed. If I double click that directory in file manager, Windows Explorer will open that directory and dis[play it as a web page, as I expected.
    I would like to know why Firefox does not open the directory name as a web page from the FILE, OPEN command, but instead shows me the directory contents(all the files in that directory)?
    BTW, if I try FILE, OPEN, using Windows Explorer the same thing happens - it opens a new window listing all the files in that directory.
    Is this the way the FILE, OPEN is supposed to work?
    It seems confusing, because if I am in any other program, for example WinWord, and do a FILE, OPEN command on a Word file, it opens the file as a Word Document - it does not just show the file in a "file manager window.
    But when I click FILE, OPEN on an HTML file(directory using Firefox, it does not open that html directory as a web page?

    I am in the Windows Explorer 'Details' view, and I see the folder with 'Type' of FILE FOLDER. In that folder are all the .js and .css and .png files - as cor-el said.
    ''But now I also see'' that there is also an htm file - ''with the exact same name ''as the folder, but it has a 'Type' of 'HTML Document'. When I have Firefox do a File, Open on the HTML Document - it does open the web page that I saved and does display it as a web page.
    I did not realize that Firefox saves both:
    1) a Directory '''(Type 'File Folder') '''''', and,
    2) an html file''' (Type 'HTML Document')
    ... '''and that they are the exact same names! '''
    I was clicking on the wrong one! Instead of clicking in the .html file, I was incorrectly clicking on the folder!
    (The archive add on looks interesting, but shouldn't I be able to open the saved web page, from the browser, using File, Open File) ?

  • Help needed  while exporting crystal reports to HTML file format using java

    Help needed  while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
    html file of the report
    thanks

    the ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
    Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM

  • Embed  html file without using IFrame UI

    Is there any way to embed html file without using IFrame UI?

    Hi
    To embed a static HTML content inside your view, Iframe is the easiest form or else, you can provide links through Linktourl UI or through a static text or a button, invoke a action and display the HTML content inside the frame or call it in a seperate (external) window.
    Otherwise, we have only less options!
    if you have anything specific, do let us know
    thanks
    sathya

  • The icons for html files are blank . . . how do i get them to show the firefox image

    on the desktop and in directories, the icons for html files are blank . . .
    firefox is my default browser . . .
    how do i get the icons to show the firefox image ?? . . .

    You can check for issues with the Windows icon cache and try to rebuild the icon cache.
    # Open the Task Manager (Shift+Ctrl+ESC)
    # In the Process tab, right-click on the Explorer.exe process and select End Process.
    # Open the file picker via "File > New Task (Run)" and click the Browse button.
    # Type or Paste %USERPROFILE%\AppData\Local (%LocalAppData%) in the File name field (AppData is a hidden folder).
    # Select the IconCache.db file and use "Delete" in the right-click context menu to delete the file.
    # After the IconCache.db file has been deleted, start a new explorer.exe process via "File > New Task" to get the desktop and Taskbar back.
    The IconCache.db file is a hidden file, so make sure that you can see hidden files.
    * http://kb.mozillazine.org/Show_hidden_files_and_folders

  • Why won't FireFox open local .html files (when using "open file")?

    I teach hand coding and use FireFox to grade my students work. I also tell them to use this browser to review their own work. If they cannot navigate to their files on their desktop I will have to switch to another browser. I know it is something from the latest version... as I have been using FireFox for the last 5 years as my classroom browser of choice.

    Firefox should still be able to open files using open files.
    I use Windows so things may differ slightly but the option to open files is available but not visible by default, I can get the option to browse for files using: keyboard keys'''Alt , F , O'''
    My directory structure and path may differ slightly but I am also able to key directly into the location bar something such as '''''file:///C:/'''''
    A third option would be simply to click on the relevant HTML file and use the option to open, or open with Firefox. Such files may also be bookmarked.

  • I woke up at 3am to find my MacBook Pro in the middle of a file transfer using AirDrop.

         I woke up at 3am to find my MacBook Pro in the middle of a file transfer using AirDrop. I had not accepted any file transfers via AirDrop as I was asleep so I am a bit confused by all the posts that say that the only way it will work is by the end user accepting a request to transfer files. I am on a home network which has both a soft and hard firewall. I checked my firewall logs and have no signs of intrusion or intrusion attempts. I checked my network map to see see if someone had brute forced my router and was using it but the only assets listed were mine. My router is set up to not be accessable from wireless computers, and is filtered to only allow use by a assets in the MAC Address list. I am an IT by trade but this is my first mac so I am not completely savy in the ways of the ways of macdom. I have found several posts with suggestions on how to turn off and came up with the following terminal command "defaults write com.apple.NetworkBrowser DisableAirDrop -boolean YES". My question is this, how is it possible that my AirDrop was activated and in the middle of a file tranfer if I did not initiate it? I do have a MacMini on my network but its WiFi is turned off so the transfer was not with it. I have read on different posts that you cannot AirDrop if the computer is not on the same network but there were no foreign assets on my network. So my question is this
    1. If AirDrop can not be used with another computer if it is not on the same network, how was it being used?
    2. How can AirDrop be used to xfer files if I did not accept or initate it?
         It seems to be a pretty big security hole to me. Any suggestions or help would be greatly appreciated.
    Ethan

    It could just be a bad disc - I use Verbatim and have only had one fail in a ten-year time period. Try getting a batch of Verbatims and see if you have any problems. I didn't even know that there were Kodak branded discs...
    Clinton

  • How to test or view data if the source is XML files..?

    Hi,
    I just got a doubt..
    How can we test or view data from BI Admintool if the source is XML files.
    If it is database we can perform "Update Row Count" or "view data" from physical layer.
    I am just going through the "sample sales" example and could not find the option to test
    connectivity with xml file..(I can see the directory which points to samplesales and xml files..
    but how can I view those data in BI admintool)..
    Help would be appreciable..
    Thanks and Regards,
    Sri.

    Hi Sri,
    Yes, this option is not available for XML and multidimensional sources. Check "Show row count in physical view" in Table 2-1 documented here ,
    http://docs.oracle.com/cd/E21764_01/bi.1111/e10540/planning.htm#BABEFIHE
    Rgds,
    Dpka

  • Plz help to get the tag of html file

    hi
    I wants to convert the HTML file into PDF file dynamically.
    So first i wants to get the tag of html file when we pass the path of html file.
    so how i do this plz help me.

    Plz Tell me how I get the HTML Tag through the java code.

  • Saving JSP source to a file

    Hi, im having some problems finding out how to write the source of a jsp file to another file. In other words i want to save the source to a file instead of just writing it to the browser. JspWriter (out)dont seem to have a method for this. Does anybody know how this could be done? I would be very grateful for your help!
    Thanks in advance!
    regards,
    claus jensen

    I cant find any methods in the Filter, FilterChain or ServletResponse to actually get the content of the file. Do you have an example for this, or maybe some urls to resources where i can find more info on it?
    Thank you.
    Claus

  • How to Load the data from excel file(Extension is .CSV) into the temp.table

    Hi
    How to Load the data from excel file(Extension is .CSV) into the temporary table of oracle in Forms11g.
    My Forms Version is - Forms [64 Bit] Version 11.1.2.0.0 (Production)
    Kindly Suggest the Solution.
    Regards,
    Sachin

    Hello Sachin,
    You can use the following metalink note:How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1) and modify it a little bit.
    Instead of copy values into forms you can save them in your temporary table.
    Kind regards,
    Alex
    If someone's helpful or correct please mark it accordingly.

Maybe you are looking for

  • ID3 tags and Nee

    Sorry if this has been asked before or is really obvious :P I have a Zen Neeon and the currently playing song appears on the screen as only a title. There is no artist. All my songs are tagged with ID3 v and 2. The only way I can get the player to sc

  • Macbook pro Graphic card failure

    I have a Macbook pro 15 inch MB 134 model. I had the classical black screen problem which i taught that it was the NVidia graphic card failure after reading the symptoms on apple support page. However, as usual, the apple authorised service center de

  • Is it normal for iPad to get hot after 30 min usage?

    Hi, well after thirty minutes or so my iPad 1 starts getting hot and temperatures continue to increase .. This also happens while charging. I just wanted to know if this is normal ..

  • Cutover plan on Project systems

    Hi Friends Can any one help me to prepare Project systems cutover plan, if you have any cutover plan on Project systems could you please pass me to harikrishna underscore sd at yahoo dot com Our requirement is we are going to stop the existing client

  • Oracle RAC crs无法启动的问题

    这两个节点的RAC是做为DataGuard备库. 版本:Red Linux 5.6,Oracle 10.2.0.3.0 node1->$ crsctl check crs CSS appears healthy Cannot communicate with CRS EVM appears healthy node1->$ crsctl query css votedisk 0. 0 /dev/raw/raw1 located 1 votedisk(s). node1->$ ocrcheck S