Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Security Issues

  1. #1
    Join Date
    Jan 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Security Issues

    1) Image Thumbnail Viewer

    2) http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

    3) We are looking to use this script on our web server. I was just wondering if there are any known security issues or possible exploits we should be looking for? I cant see anything raised in previous posts and likewise have done a quick search on google. However where better to ask than the horses mouth, so to speak. Am happy to go with any recommendations you care to make.

    Look forward to a reply.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Well certainly none that I can conceive of. There is no Ajax/ server side interaction in this script at all that are typically where security needs to be looked at. All this script does is load an image inline on the page instead of the browser window itself (default).

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Yes, there is no way this script could be used to take advantage of your server.

    The description is a little misleading, though: the code provided isn't actually HTML; it appears to be XHTML.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Twey View Post
    Yes, there is no way this script could be used to take advantage of your server.

    The description is a little misleading, though: the code provided isn't actually HTML; it appears to be XHTML.
    How so? Looks like an object driven javascript to me with HTML markup hooks. Oh and, suspiciously like lightbox.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Code:
    <link rel="stylesheet" href="thumbnailviewer.css" type="text/css" />
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Twey View Post
    Code:
    <link rel="stylesheet" href="thumbnailviewer.css" type="text/css" />
    Oh that. Looks like (the new) tag soup on the part of a certain someone. You know as well as I do that just putting a short tag on a self-closing tag doesn't make something XHTML. It just makes it invalid if it isn't part of an XHTML document but, not to modern browsers.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    You know as well as I do that just putting a short tag on a self-closing tag doesn't make something XHTML. It just makes it invalid if it isn't part of an XHTML document
    Thus, without any contrary associated DOCTYPE or MIME-type, it's reasonable to assume that it was intended as XHTML. It's certainly not HTML, even if it may be error-corrected into such.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Either way, we should maybe take this to senior coders and let DD settle it. DD is credited with authorship on this one.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  9. #9
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    I shall not lower myself down to the level of name calling- XHTML calling that is!

  10. #10
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Chuckle.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •