Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4584462
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:21:31+00:00 2026-05-21T21:21:31+00:00

So, for a new community site I am working on, we are considering allowing

  • 0

So, for a new community site I am working on, we are considering allowing the users to write their own CSS. Perhaps with a text area in their profile page. Then that becomes the CSS that the website sends their browser whenever they browse the site. This looks like a fairly obvious and cheap customization but I’ve never seen it done.

Assuming we add some safeguards to prevent users from irreparably messing up their own page, is there anything that can go wrong from a site-wide perspective? Perhaps wrt security?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T21:21:32+00:00Added an answer on May 21, 2026 at 9:21 pm

    OWASP has some good advice about escaping untrusted CSS that you might like to consider.

    I recommend offering users some general appearance preferences (font size, style, and colour etc.) rather than giving them carte blanche. This has the advantage of being more accessible to less technical users, as well as resulting in fewer likely requests for tech support (don’t forget to include a ‘reset styles’ button so they can undo their changes without emailing you).

    Any user who is comfortable enough to override site-wide CSS styles is likely to be aware of browser-based site-specific stylesheets, so I don’t see any real advantage in offering a blank styles box like the one you describe; if users were styling their pages to theme them for other visitors (e.g. tumblr) it would make much more sense.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Dear community members, I am actually a bit new to CSS, however I know
I am trying to create profile pages for my community site. I have followed
I have just set up a new Drupal site, community based. there are some
I'm working on a new web site than can generate company/product names. Someone can
I am new in this community. I just completed my Btech in Computer science,
I'm new to postgreSQL, so would really appreciate any pointers from the community. I
I have following code return (EseshEntities.Current.Users.Select(u => new { Comunity = u.Apartment.Building.District.City })).ToList(); if
I'm new to this community, but I've found it really useful time to time.
Im new to drupal (just finished my first web site with it), i found
Yes hello today I discovered a hack for my site. When you write a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.