Archive for the ‘ ASP.Net Portal ’ Category

How to secure Sitefinity’s Administrative UI

Sitefinity’s Administrative Web Interface is accessed by adding /Sitefinity to the web site’s URL.  Users are then required to provide a valid username & password to gain entry to Sitefinity.  By default, Sitefinity’s administrative username is set to admin.

A few customers have expressed concern that this does not offer enough protection from malicious users or bots.  If an attacker knows a web site is using Sitefinity then they also know the login URL and the admin username. The only thing that remains is the admin password. 

This article explains how Sitefinity (and ASP.NET) help protect your web site.  This article also suggests a few techniques for adding additional layers of protection to Sitefinity’s Administrative UI.

Here are some very general password guidelines:

  • Passwords should be at least 8 characters longer.  The longer the better…
  • Passwords should be mixed-case
  • Passwords should contain a mixture of numbers & letters
  • Passwords should not use common words

A good password makes it difficult to randomly stumble into the right combination of numbers & letters.  To further discourage these brute force attacks, Sitefinity’s Membership Provider will (by default!) temporarily lock out accounts that have too many failed password attempts. 

Sitefinity comes included with RadControls for ASP.NET AJAX.  Included in this suite of controls is a Captcha control.  This control can be added to Sitefinity’s login to prevent bots from auto-submitting the login form.  Captcha discourages attackers from using automated brute force or dictionary attacks to discover the admin password.  Bypassing Captcha requires human intervention or a more sophisticated automated tool.

By default Sitefinity’s administrative user is named admin.  Using Sitefinity’s Administrative UI a new administrative user can be created and the old admin user deleted.  This makes it harder to guess the administrative user login.

1.  Create a new administrative user and make this user a member of the administrators role. 

2.  Log out and then login using this new administrative user. 

3.  Test thoroughly before removing the original admin user!

4.  Before the the old admin user can be deleted this account must be removed from the administrators role. 

5.  After this role has been removed the original admin user can be deleted.

Sitefinity’s administrative login can be guessed because all Sitefinity web sites use the very same login URL.  The login URL can be changed by renaming Sitefinity’s Login page:

  1. Rename ~/Sitefinity/Login.aspx to ~/Sitefinity/ObscureLogin.aspx
  2. Rename ~/Sitefinity/Login.aspx.cs to ~/Sitefinity/ObscureLogin.aspx.cs
  3. Rename ~/Sitefinity/App_LocalResources/Login.aspx.resx to ~/Sitefinity/App_LocalResources/ObscureLogin.aspx.resx

Sitefinity’s Administrative UI can now only be accessed using a special login URL:

http://yourwebsite.com/Sitefinity/ObscureLogin.aspx

Any other URL will attempt to redirect to ~/Login.aspx (which no longer exists) and will throw a 404 error.  The user will need to know the login URL before they gain access to Sitefinity’s Admin. UI.

Many features in Community server

Community Server is a community and collaboration software product developed by Telligent Systems. It consists of the Telligent Evolution platform, with a variety of core applications running on top of it such as blogs, forums, media galleries, and wikis. Additional applications from third parties using the API’s and REST stack can be installed or integrated with the platform. Telligent Community is built with ASP.NET, C#, and Microsoft SQL Server.

Our hosting (seekdotnet) have supported the latest version 5.0 SP1  for community server hosting. The new product used to be named Community Server before being rebranded as part of 5.0 releases.

New features in community server:

  • Forums system which can integrate with email discussion lists and news servers
  • Publishing system that manages single and multi-user blogs
  • Wikis with the ability to link a forum thread and a wiki page
  • Media Galleries for publishing photos, videos, and other files
  • Content mirroring (feed resyndication) to enable content syndication and republishing
  • Integrated search across all applications
  • Activity streams with user and group status messages and replies
  • Widgets that can customized and dragged to different locations on the page
  • Integrated tagging support throughout all applications
  • User profiles with support for adding favorites, personal feeds, and conversations and comments
  • Search engine-friendly permalink structure 

MojoPortal 2.3.3.4 Released

MojoPortal is an extensible cross platform, cross database, content management system (CMS) and web application framework written in C# ASP.NET. If you can make an ASP.NET UserControl then you already know how to implement a feature. Supports MS SQL 2000-2008, MySql, PostgreSql, SQLite, or Firbird Sql. mojoPortal places a lot of emphasis on web standards and accessibility. MojoPortal also runs in Medium Trust.

Seekdotnet as Mojoportal web hosting can supports mojoportal site with MSSQL 2005 or MSSQL 2008 database . In our dotnetpanel installation, customer can install it for free of charge.

Mojoportal web hosting also can host into Window Server 2003 or Window Server 2008 with II6 hosting or IIS7 hosting.

This is a major release packed with lots of improvements that I think you will like.

  • New File Manager UI
  • Shared Files Improvements
    If you rebuild your search index, files found in search results be a download link instead of a link to the page containing the Shared Files instance
  • Blog Improvements
    Added paging to the blog list view by popular demand
  • Feed Manager Improvements
    New setting allowing you to specify the date/time format string
  • Simple List/Links
    This was one of the first features in mojoPortal and in fact was a feature in the old IBuySpy Portal that mojoPortal was originally based on.