Archive for March, 2010

.NET RIA Services in Seekdotnet

Observing tendency in application development, you can see a clear regularity which shows that a lot of applications have being developed in Internet instead of the desktop way. This tendency is taking place in the last years because of the opportunity to create more interactive web applications. Evolution of JavaScript, Silverlight, Flash, etc. makes it possible. Now we see that many web applications do not receive a personal page when you access it, but load additional data thanks to more web server references. Such an approach allows us to avoid page reloads. So, web-based applications are considered more interactive and can provide more responsive interface. This class of applications is called Rich Internet Applications (RIA).

Without a doubt, RIA is a very perspective direction. These applications can cover a large number of scenarios that have previously been under force of desktop once only.

However, there is a serious problem during the process of building Rich Internet Applications. To develop Rich Internet Application you should do a big work – develop web services to access business scenarios, develop a user interface (Silverlight, Flash, JavaScript) and connect it with a server platform. There is a special mean when we are talking about complex corporate applications.

Seekdotnet as RIA hosting provider can support .NET RIA running in IIS7  on Window Server 2008.

Visual Studio Developers Should Know About Crystal Reports 2008

Visual Studio 2008 Professional includes “Crystal Reports 2008 Basic.” The Standard and Express versions of VS2008 do not include the bundled Crystal Reports.

“Crystal Reports 2008 Basic” is quite different than “Crystal Reports 2008.” The Basic version has the same feature set as the previous version (that was embedded into Visual Studio 2005). In fact, if you look at Crystal Reports section of the Visual Studio MSDN documentation (Development Tools and Langauges/Visual Studio/ Tools and Features/Crystal Reports), the list of “What’s New” is as follows:

·         ClickOnce deployment supports the HomeSite attribute and is now available for x64 bit machines.

·         Crystal Reports Basic for Visual Studio 2008 supports both Windows Vista and Windows Server 2008.

·         Support for the .Net 3.5 Framework.

Crystal Reports 2008 does not yet integrate with Visual Studio 2008 but an upcoming update will provide this integration. You will need to watch the Business Objects website for more information on this.

If you want to host your website and integrated it with Crystal report, you can choose our hosting, Seekdotnet.com . We are crystal repot hosting specialist .Now, we can support Crystal Report 2005 and 2008.

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.