![]() Topic awaiting preservation: Securing a newsreader that takes $_GET (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Australia |
![]() Hi all, I have a little project im doing that needs to be able to take a news reader url from the URL of this page, and display the results. |
Maniac (V) Inmate From: Sthlm, Sweden |
![]() I helped Steve over at the GN with this for his Flash newsreader a while back, take a look in this thread http://www.gurusnetwork.com/discussion/thread/2942/ and I'm sure you'll find some tips that you can use. |
Bipolar (III) Inmate From: Australia |
![]() Thanks for that, interesting. I won't have a list to compare to unfortunately as that would really defeat the purpose of it. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() Open the document and make sure that you validate the page as XML, if the page is valid and it follows the specified DTD you should be just as safe as if you are accepting form input. But just like for form input make sure to further validate any data that you might be processing. |
Bipolar (III) Inmate From: Australia |
![]() Thanks, yeh i figured as much. I guess in some ways i have to be a little more flexible than form input. Generally for most of my form input i only allow alphanumeric characters, but URL's need a few other things. |