Jump to content

Classifieds Site


neogemima

Recommended Posts

Hi Guys,

 

I'm working on a database project right now and have not spent a whole lot of time on design.  The look is supposed to be super simple because the focus is not the site, but the content.  Right now my buddies and I are testing it, so don't mind all the useless posts in each section.

http://www.biotechposting.com

 

Also, not all links are active, we are updating daily.  I appreciate any and all opinions.  Thanks.

 

 

Link to comment
Share on other sites

http://www.biotechposting.com/pages/news.html

 

XSS vunerable, I injected javascript into the title of a post and when the second link - Test is `mouse-overe'd` the window.location is changed to http://elgoog(dot)com

Use stripSlashes() and HTMLentities() with ENT_QUOTES when displaying the title / posted body of the document to prevent this. 

Link to comment
Share on other sites

does not validate.

Tables should not be used for layout.

<font> tags are deprecated and should not be used.

Don't see any h1-h6, just <font> tags to make important text bigger.

Can't you use serverside includes instead of iframes? It's usually a good idea to avoid frames wherever possible. Not to mention I'm not seeing al the contents of the frame, last line gets cut in half with the bottom half invisible. (Using Firefox 3 on openSUSE (linux))

 

</dl>
<br/>
<br/>
<br/>
<br/>
<br/>

Use style="margin-bottom: 50px;" on the <dl> instead or better yet do that in a stylesheet. This is the kind of HTML you end up with using a WYIWYG editor.

 

<input name="agreement" value="agree" onclick="if (this.checked){this.form.tr.disabled=0}else{this.form.tr.disabled=1}" type="checkbox"><font color="#666666">I accept the terms of use.</font>      

I'd use

<input id="agreement" name="agreement" value="agree" onclick="if (this.checked){this.form.tr.disabled=0}else{this.form.tr.disabled=1}" type="checkbox"><label for="agreement" style="color: #666; margin-right: 90px;">I accept the terms of use.</label>

 

 

edit

Forgot, I don't know for how much of this your editor is to blame, though the bits I commented on are most likely hardcoded.

But should you require an editor that uses proper tag, both tinymce and fckeditor do a decent job.

Link to comment
Share on other sites

Thanks guys, I appreciate it.  And even though my page acted weird this morning and freaked everyone out quite a bit (my phone rang off the hook at 8am on a Saturday) I appreciate the security demonstration.  :)  Can someone give me a little more detailed explanation on how to use those functions that will filter out the javascript if someone puts it in their header or content?

 

Thanks.

 

I will try to get the site to validate and make some corrections in the code and repost the url here.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.