Results 1 to 5 of 5

Thread: Is use of Stacktraces in live website dangerous?

  1. #1
    Join Date
    Nov 2009
    Posts
    131

    Is use of Stacktraces in live website dangerous?

    Hello to all,
    I am new to this forum. I am working on multiple Sitecore websites and one of my friend said me it might be dangerous to have stacktraces available to users of the website when you get errors. Can anyone tell me is use of Stacktraces in live website dangerous? Is it vulnerable to hackers? Please help me.
    Thanks in advanced.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Is use of Stacktraces in live website dangerous?

    Yes it is dangerous to have Stacktraces in live website. Depending on what the exception in case is, you are actually explore information about your system to other users and hackers can take advantage of it.
    For example, If your stack trace could be showing errors coming from the sql then other person can come to know that SQL Server is the part of setup. It also tells the other person, which .NET calls are being made, when causing the error.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: Is use of Stacktraces in live website dangerous?

    As per my knowledge use of stacktraces is very harmful than providing good result. It potentially help an attacker 'profile' your web site and related software. If they are able to see database module of your project then they can craft an attack based on that database software. In this case you have to add some "security through obscurity" to stay away from such type of problem.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Is use of Stacktraces in live website dangerous?

    Hey why you don't send error directly to admin or logged somewhere using email. If you don't want to show error to user then you can directly send error to admin or logged somewhere. For this you have to use "automated email" service. Whenever an error occurs an email containing error message is automatically send to admin. Through this process you can hide information about error from other user.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Re: Is use of Stacktraces in live website dangerous?

    Yes it is harmful to use Stacktraces in live website dangerous. Let's look at following example.
    Session["username"] = user; if("denied" != getPermission(Session["username"])) redirect("login error")
    Hey look at this common security bug, now combined that with giving information. Now it is possible for hacker to know an exception. If he can use that information to cause an exception when calling getPermission he will no longer be redirected. So only the stacktrace is usually not that dangerous but combined with more information they will weaken your security system.

Similar Threads

  1. Need live chat application for an online website
    By Bees in forum Technology & Internet
    Replies: 12
    Last Post: 30-01-2014, 10:00 AM
  2. Best Live Chat Support Apps for your Website
    By Twitter in forum Reviews
    Replies: 2
    Last Post: 01-02-2013, 01:25 PM
  3. Add Live Search on website with ASP.NET
    By Bol-Bacchan in forum Software Development
    Replies: 5
    Last Post: 27-02-2011, 08:56 AM
  4. Wordpress website unable to work with my live writer
    By Hache hi in forum Technology & Internet
    Replies: 3
    Last Post: 07-01-2011, 07:35 PM
  5. How to add Messenger Live chat box to my website?
    By Chucky in forum Windows XP Support
    Replies: 3
    Last Post: 12-01-2010, 01:20 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,566,386.61362 seconds with 17 queries