Category: ASP.NET

Good Reads For Information Security Domain

For February 2016 OpenSSL Releases Security Advisory for Several Vulnerabilities https://mta.openssl.org/pipermail/openssl-announce/2016-March/000066.html https://drownattack.com/ Drupal Releases Critical Security Advisory for Multiple Vulnerabilities https://www.drupal.org/SA-CORE-2016-001 Google Project Zero: The Definitive Guide on Win32 to NT Path Conversion https://googleprojectzero.blogspot.com/2016/02/the-definitive-guide-on-win32-to-nt.html Angler Attempts to Slip The Hook http://blog.talosintel.com/2016/03/angler-slips-hook.html?f_l=s

Posted in ASP.NET, Azure, Database, iPhone Apps, JQUERY, JSON, LINQ, Operating System, Programming Language, Secure .NET Coding, Security, Sharepoint, Sharepoint Security, Silverlight, SQL Server, Visual Studio, WCF (Windows Communication Framework), Windows 7, WPF (Windows Presentation Framework), XML Tagged with: , ,

Run Code by impersonating user privilege

Background In my previous post I have explained that how to perform operations on local system using ASP.NET. After using it and putting the same code in testing environment I realize that I throws access denied error when normal user

Posted in ASP.NET, Programming Language, Secure .NET Coding, Security, Sharepoint Security Tagged with: ,

Using Directory Services for LOCAL SYSTEM

Background I have been given a task to work with windows users through web, task like change password, etc. I tried searching for articles for the same to finish this asap. But it took more time as all articles were

Posted in ASP.NET, Operating System, Programming Language, Windows 7

Capture DataGridView cell’s KeyPress event

Background It was a challenge for me to achieve this. So I took it and completed successfully. The question is what was the challenge.The challenge was to capture the KeyPress event of DataGridView Cell. Problem How would you achieve this?

Posted in ASP.NET, Programming Language, WPF (Windows Presentation Framework)

Web Part’s custom Properties in ToolPart

Its is there on my cards for long time to write on customizing Web Part’s properties. Now, finally I am writing. The basic idea behind this article is to add our own logic and controls in web part. There could

Posted in ASP.NET, Secure .NET Coding, Security, Sharepoint, Sharepoint Security Tagged with: , , ,

Working with Multiple Cookies

Background When we build our web-application, we all use cookies for some of the other reason. Reasons could be keeping session id, certain user information, or any other page related data, etc. Whatever purpose it may be, as the best

Posted in ASP.NET, Programming Language, Secure .NET Coding, Security Tagged with: ,

DO NOT Install * aCt!v3X

You must be wondering with the topic title that why it is so weird, “DO NOT” for actually DO NOT J and “Install” is strikeout means that not to install and “*” in SQL means ALL. “aCt!v3X” is nothing but

Posted in ASP.NET, Programming Language, Secure .NET Coding, Security Tagged with: ,

Making stock ticker in c#

Introduction Stock market has always attracted people to invest money, whether it has gone up or down. Many of us made money 🙂 and few of us must have lost money 🙁 Now what made me write this article is

Posted in ASP.NET, Visual Studio, WPF (Windows Presentation Framework), XML

Image to DataBase and from DataBase to PictureBox control (C#)

Background I have been asked about that how would you put an image directly into the database rather saving it in a file system, that’s number one. Then second one was, how would you show the same image or any

Posted in ASP.NET, Database, Programming Language, SQL Server, Visual Studio

If-Else-If Vs. Switch

Introduction There are two methods available in Microsoft .NET framework and C# language for conditional processing where discrete values can be selected from. The Switch statement is more considered to be more efficient than if-else-if ladder, but less flexible. Purpose

Posted in ASP.NET, Operating System, Programming Language, Windows 7 Tagged with: , ,