Computer problems,Computer help
*AX SOFT>>>Programming & Design

How does Myspace create it's pages to allow users to apply code changes, what languages and techniques?


IMPORTANT NOTE: I am NOT trying to mimic myspace or create any page even related to myspace what so ever, I'm only interested in the knowledge in it's entirety.

I think it's very interesting how websites allow users to enter code and change the way a page looks. I would love to know what techniques and languages are used to accomplish this.

Thank you very much!

It's pretty easy to do. In fact, most sites do allow it if they aren't secured properly.

If you use MySpace, you know that there are no designated places for style changes. (At least there wasn't years ago when I tried MySpace.)

You just type <style> CSS code </style> in any one of the text boxes, and the style would be used on your page.

This is the way it works on any website if you don't tell it otherwise. However, this opens up security holes. Also, most sites don't want you to change the layout.

Most sites just strip out all HTML, CSS, Javascript, ect. from any user input. (At least they should.)

MySpace does strip out anything that could cause security problems but they allow the <style> tag. That's all there is to it.

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • I have problem with StreamToken that get data from keyboard at the same line at the time?

    Instead of StreamToken, how about leveraging BufferedReader along with Integer.parseInt(): public static void main(String[] args) throws Exception { int[] a = new int[10]; int counter = 0; i...

  • Is there a free program i can use to make a basic social network for my school?

    You could use the following: Ning - ...

  • Here's a riddle, and also a JCreator/Java Programing question.?

    Its the common multiple of all of them. The condition works for all students in that position. Ex. The 1st 5th student will have sunglasses. The 4th 5th student will also have sunglasses...

  • Creating a Gadge on Windows Vista.?

    You can make gadgets????????? Cool, I was wonderin why they had no good ones to download

    ...
  • Do i hav to jail break my ipod touch to get ibeer and all those other apps?

    Yeah You Have To Jailbreak It. Its Actually Really Simple. Theres A Website That Does It For You. And It Has Yet To Give Me A Viruis And It Has Some Cool Features. The iBeer thing though is a v...

  • Can any one recomend a free web hosting company that dont give you a website builder that sopport full HTML.?

    If you are serious about websites either for personal or your business, don't go to free web hosting as they are usually not reliable and you may end up losing all your hard work. Free web hos...

  • Button (link)?

    If you host the button image on another site, use this code: <a href="URL_to_other_page" title="ToolTip Description"><img src="URL_to_image" style="wi...

  • What programs do I need to be a graphic designer? Do I just need the adobe creative suite? Or are there more?

    ...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster