SitePoint Sponsor

User Tag List

Page 2 of 4 FirstFirst 1234 LastLast
Results 26 to 50 of 91
  1. #26
    Apache Expert i_like_php's Avatar
    Join Date
    Nov 2001
    Location
    Dallas, Texas
    Posts
    1,342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    unless your code is a goverment secret then it's pointless to try and hide your code...
    i love php

  2. #27
    Non-Member
    Join Date
    Jan 2003
    Posts
    5,748
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    goverment secret
    What goverment on this planet would upload their secrets huh ? Even on a public, though protected server I ask...

    None that I'd think

  3. #28
    Apache Expert i_like_php's Avatar
    Join Date
    Nov 2001
    Location
    Dallas, Texas
    Posts
    1,342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dr Livingston
    What goverment on this planet would upload their secrets huh ? Even on a public, though protected server I ask...

    None that I'd think [img]images/smilies/biggrin.gif[/img]
    i know that's why i said that LOL
    i love php

  4. #29
    SitePoint Addict CeleronXL's Avatar
    Join Date
    Dec 2002
    Location
    United States of America
    Posts
    349
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know why it's banned from Opera, worked fine in there (pretty much).

    Same for Firebird.
    So hold me when I'm here
    Right me when I'm wrong
    Hold me when I'm scared
    Love me when I'm gone.

  5. #30
    Non-Member
    Join Date
    Jan 2003
    Posts
    5,748
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just picked up Site Points new Tribune and funny enough there is this link in an advert

    http://www.aw-soft.com/htmlguard.html

    --EDIT--

    Might be some what secure though it goes in the face of web page usability;

    Suppose if you've got $15 and you like to waste money, then why not eh ?
    Last edited by Dr Livingston; Oct 2, 2003 at 16:51.

  6. #31
    "Of" != "Have" bronze trophy Jeff Lange's Avatar
    Join Date
    Jan 2003
    Location
    Calgary, Canada
    Posts
    2,063
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Devilware.net
    IIRC a way around HTML encryption is to stick the following in your address bar:

    Code:
    javascript:a='<pre>'%20+%20document.getElementsByTagName('html')[0].innerHTML.replace(/&/g,%20'&amp;').replace(/</g,%20'&lt;').replace(/>/g,%20'&gt;').replace(/"/g,%20'&quot;')%20+%20'</pre>';
    Then you get the full, proper HTML for the page

    -Sam
    Looks like something I posted a while back .

    In any case, no, you CANNOT protect your HTML/Javascript/CSS/Images/Flash files!!

    (Well flash to a certain extent, but there are flash decompilers.)
    Who walks the stairs without a care
    It shoots so high in the sky.
    Bounce up and down just like a clown.
    Everyone knows its Slinky.

  7. #32
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by coo_t2
    Develop your own web browser that fetches html/javascript and then converts it to a proprietary format. You'd also have to write a parsing and rendering engine that works on the proprietary formatted code.
    Then you would have to have people download your special web browser so that your HTML page can be viewed.
    It's really not that difficult. I don't know why everybody says it is.
    Haha!

  8. #33
    SitePoint Wizard
    Join Date
    Mar 2002
    Location
    Bristol, UK
    Posts
    2,240
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Jeff Lange
    Looks like something I posted a while back [img]images/smilies/wink.gif[/img].
    Probably is, actually

    -Sam
    Sam Hastings

  9. #34
    does not play well with others frezno's Avatar
    Join Date
    Jan 2003
    Location
    Munich, Germany
    Posts
    1,391
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by i_like_php
    unless your code is a goverment secret
    and if so? governments are frauding us anyways.
    So whatever would be written down there it's not true, so i don't care

    BTW, in one of my programs there's a function called government:

    PHP Code:
    function government($howlong)
    {
        
    sleep($howlong);

    as you can see, it does nothing but waiting for better times
    We are the Borg. Resistance is futile. Prepare to be assimilated.
    I'm Pentium of Borg.Division is futile.Prepare to be approximated.

  10. #35
    SitePoint Zealot hpnadig's Avatar
    Join Date
    Sep 2003
    Location
    Bangalore
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Zaire
    Put all your javascript in a file named .php

    Put a referrer list in there, and check referrers, so if it's not a certin domain name, it can't be downloaded and viewed...

    Then it's just <script language="Javascript" src="js.php"></script>

    I believe that would work.. but then again not sure, didn't bother to try it... but I would think it would.

    -Eric
    I've tried this before... But what do we do for preventing users from direcly accessing it? Can we chmod the file with no access to the public? Or would that mean even my page wouldn't have acces to it?
    Home Page| Blog | Gallery
    sys op & contributor @ kn wikipedia

    Still stuck with a stinky browser? Go get FireFox

  11. #36
    SitePoint Zealot hpnadig's Avatar
    Join Date
    Sep 2003
    Location
    Bangalore
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Devilware.net

    Sorry, I'm not sure exactly what you mean here...would you mind clarifying?

    -Sam
    well, we won't be uploading the full size photo or Image, wright?
    One can sell his photo after just displaying the smaller size one..
    Home Page| Blog | Gallery
    sys op & contributor @ kn wikipedia

    Still stuck with a stinky browser? Go get FireFox

  12. #37
    SitePoint Zealot hpnadig's Avatar
    Join Date
    Sep 2003
    Location
    Bangalore
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb

    Just wondering...

    Is there a Javascript solution for this?
    Home Page| Blog | Gallery
    sys op & contributor @ kn wikipedia

    Still stuck with a stinky browser? Go get FireFox

  13. #38
    SitePoint Wizard
    Join Date
    Nov 2000
    Location
    Chico, Ca
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by hpnadig
    Is there any method using php by which I can hide my code ( HTML) from user. i.e to make it invisible on 'View Source'?
    Ahh, the great debate, HTML trade secrets..

    As it's been said many times before, if you don't want people to view your page source don't post a website on the Internet. There are all kinds of HTML source hiding tactics none of which is 100 percent secure.
    "Happiness doesn't find you, you find happiness" -- Unknown
    www.chuckknows.com

  14. #39
    "Of" != "Have" bronze trophy Jeff Lange's Avatar
    Join Date
    Jan 2003
    Location
    Calgary, Canada
    Posts
    2,063
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by hpnadig
    Just wondering...

    Is there a Javascript solution for this?
    You cannot prevent people from viewing your source. It's just not possible.
    Who walks the stairs without a care
    It shoots so high in the sky.
    Bounce up and down just like a clown.
    Everyone knows its Slinky.

  15. #40
    SitePoint Zealot hpnadig's Avatar
    Join Date
    Sep 2003
    Location
    Bangalore
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, the debate ends with no result...

    heard recently about php files being converted to executables who's code can't be read ( some kind of Zend encoder is made use of I heard )
    would that solve our problems?
    Home Page| Blog | Gallery
    sys op & contributor @ kn wikipedia

    Still stuck with a stinky browser? Go get FireFox

  16. #41
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by hpnadig
    well, the debate ends with no result...

    heard recently about php files being converted to executables who's code can't be read ( some kind of Zend encoder is made use of I heard )
    Your PHP code would be the only code obfuscated/hidden; your HTML and Javascript would still show.
    Quote Originally Posted by hpnadig
    would that solve our problems?
    I have no problem with people seeing my HTML or Javascript. What's the big deal? If somebody's that flattered by my work that they'd copy it, more power to them. If they start making money behind my back and off of my reputation then I'll sue the hell out of them, but if it's just somebody who wants to learn from my stuff or set up a personal website with similar features, then steal away.

  17. #42
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use server side script to read the html etc, and create 1024x768 px images of the pages?

    Could affect bandwidth usage a little bit, however

  18. #43
    SitePoint Wizard davidjmedlock's Avatar
    Join Date
    Dec 2002
    Location
    Nashville, TN USA
    Posts
    1,688
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    let's put it this way, if someone with malicious intentions can hack into databases of large corporations with people who's entire job is to secure data, what makes you think that there will be any way to protect plain, simple, HTML code from getting hacked by someone with the right knowledge and experience?

  19. #44
    PHP manual bot bronze trophy Gaheris's Avatar
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    2,195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by coo_t2
    Develop your own web browser that fetches html/javascript and then converts it to a proprietary format. You'd also have to write a parsing and rendering engine that works on the proprietary formatted code.
    Then you would have to have people download your special web browser so that your HTML page can be viewed.
    No this isn't good enough since I could grab those incoming packets.
    You'd better write your own binary format for webpages with a strong built-in encryption and you will still need your own webbrowser. But hey, someone could still crack your program and peek into the memory. Well, pack and encrypt your program (this should keep those novices out) and don't forget you own anti softice trick (frogice kill almost all of them).
    I don't know but this is way to insecure.
    Pah, you could, of course, design your own new revolutionary super-security computer with microsoft-type bugs included but someone would crack it for sure. The best way to secure your HTML would be not to write it down and not to talk about it. Then, the only thing you would need to do would be to hope that nobody develops a talent for telepathy.
    Good enough for you? </sarcasm> (Yikes! You saw a piece of my code!)

  20. #45
    SitePoint Addict
    Join Date
    Mar 2003
    Location
    CA
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How about a more out of the box idea...

    You could write an xml 1.0 dtd or schema describing elements with non-html names, apply a css stylesheet to it on the browser, so that your tag called "<divider>" behaves like a "<div>" (only make the names more cryptic. Then absolutely position a clear gif 100% wide and really long (like 2000px) high. As the user scrolls, use javascript tol reposition the gif to the top of the viewable area. This way, if someone wants to copy text they can't very easily, and copying the source would mean just copying your xml.
    -ChaCha

  21. #46
    PHP manual bot bronze trophy Gaheris's Avatar
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    2,195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need more than a DTD and CSS to simulate (X)HTML.

  22. #47
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Gaheris
    You need more than a DTD and CSS to simulate (X)HTML.
    Huh?

  23. #48
    SitePoint Zealot
    Join Date
    Jul 2002
    Posts
    173
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Free Obfuscating HTML EncoderThe obfuscating HTML encoder is an easy to install PHP script that obfuscates all your HTML output into a coded form, making analysis of your HTML pages almost impossible.



    Go see: http://www.ioncube.com

    ... and look at the free HTML Encoder

  24. #49
    PHP manual bot bronze trophy Gaheris's Avatar
    Join Date
    Oct 2003
    Location
    Germany
    Posts
    2,195
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mattjacob
    Huh?
    Got a problem?

  25. #50
    No. Phil.Roberts's Avatar
    Join Date
    May 2001
    Location
    Nottingham, UK
    Posts
    1,142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are we STILL talking about this stupid non-subject?


Bookmarks

Posting Permissions

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