Indigo Rose Software

Professional Software Development Tools

 
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Join Date
    Aug 2004
    Posts
    63

    HTML file in DAT folder?

    Is there any way to publish a project using the hard drive folder method and have my html files in the dat folder so individuals can not access my HTML directly? I would normally use the compressed .exe method but for this situation, I need to use the hard drive folder method.

    Thanks,
    Bryan

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    There's no way to serve HTML and protect it at the same time, they will always be able to view the source. But one way to minimize file access is to store your HTML code as a string in your project and write the HTML pages dynamically at runtime using TextFile.WriteFromString(), and deleting them afterward. One idea anyhow.

  3. #3
    Join Date
    Aug 2004
    Posts
    63
    Thanks Cory! Since Im new, a lot of that went right over my head but I will figure out how to do that.
    Thanks for the suggestion!
    Bryan

  4. #4
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Also, don't forget the Crypto Plugin offered by I.R.! It utilizes Blowfish 448-bit encyption.
    Intrigued

  5. #5
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    encyption = encryption
    Intrigued

  6. #6
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244


    With either method, the user would still be able to 'view source' when the file is being displayed.
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  7. #7
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Quote Originally Posted by Derek


    With either method, the user would still be able to 'view source' when the file is being displayed.
    Well, how about then adding in Worm's KEYSTROKE.dll to stop some key presses? (if it will work for this? I have not used saved once that .dll) Or, would that be to pervasive? Hmmm...
    Intrigued

  8. #8
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Or, here is a working solution that seems to work fine within the confines of a Web Object in AMS 5!

    Poof in the project name is meant as in *POOF* where did the source go!

    Javascript source credit: http://www.hypergurl.com/norightclick.html
    Attached Files
    Intrigued

  9. #9
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    I did find an outta the way (read: few know about this option) of getting the source. Just hover over the Web Object and then do the following key combo:

    Shift+F10

    However, another idea or an add-on idea is to click (as the source for the JavaScript link I posted above recommended) several times on the ENTER key to get some blank lines (say 100 or so) before the first <HTML> tag in the .htm/.html document. Now, the scrollbars on the local system's default document editor could be noticed by the end-user.

    But, at least here are some ways we can help to bullet-proof our source HTML a tad better anyway.

    Intrigued

  10. #10
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    Quote Originally Posted by Intrigued
    Or, here is a working solution that seems to work fine within the confines of a Web Object in AMS 5!

    Poof in the project name is meant as in *POOF* where did the source go!
    Just FYI: the *POOF* example you posted ... took me 2 seconds to beat the javascript
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  11. #11
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Quote Originally Posted by Derek
    Just FYI: the *POOF* example you posted ... took me 2 seconds to beat the javascript
    That was not created by me. I just put that JavaScript in the project and uploaded it.



    Though, it does work good for the casual end-user. Most will not know about the Shift+F10 (to get the right-click function via keyboard) or may not even notice the scrollbar that reveals more data down below.
    Intrigued

  12. #12
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    Who created it doesnt really come into it
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  13. #13
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    NOTE: Don't add in HTML into the .html file after all! Breaks it! (D'oh) But, this still is a good way to go for static pages?

    Also, here is another idea:

    An HTML document that loads into a Flash document that is hosted in a Web Object.

    Note: It takes a few seconds to load the amuser.com site in the Flash document (with no visual cue). But, a page loader would be easy to add to the .swf file.

    Try changing the .html file in the Docs folder to what you want.

    Attached Files
    Last edited by Intrigued; 02-18-2005 at 12:17 PM.
    Intrigued

  14. #14
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Does FlashMX 2004 load html now? Curious....'bout time.

    I can still get the source with right-click though (in the margin area). This is just the formatting being used is all.

    One other way would be to load a html doc and have an "exactfit" parameter transparent flash on a z:index to cover the entire page (I've done this before). Not a fool-proof method, but will keep the average user from accessing the source. It could even be a button saying "get lost"

  15. #15
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Can you post a sample rhosk? That sounds interesting enough.

    Intrigued

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Mac autostart function???
    By Protocol in forum AutoPlay Media Studio 4.0
    Replies: 21
    Last Post: 06-26-2003, 10:25 AM
  2. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM
  3. INFO: The Explore Button on the Distribution Folder Dialog
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-11-2002, 12:06 PM
  4. HOWTO: Open an HTML Help File to a Specific Topic
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-01-2002, 02:24 PM
  5. Replies: 0
    Last Post: 08-17-2000, 02:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts