Welcome to MSDN Blogs Sign in | Join | Help

June 2005 - Posts

Encrypt at client side and decrypt at server

There might be situations where the content from thin client that is accessible via internet, needs to be encrypted (without storing the encryption logic at the client) and subsequently be decrypted on the server side code that doesn't run on SSL. Here
Posted by samar | 1 Comments
Filed under:

Web Services: Revolutionize your business

Industry is talking of Web Services to the height of Petronas Towers. For an IT professional unaware of Web Services following questions come up, 1. How practical is it when it comes to implementation? 2. Are they real, or hype? 3. Why Web Services? 4.
Posted by samar | 2 Comments
Filed under:

Publish, Discover and Invoke Web Services using SOAP and UDDI

Introduction The project contains code that allows to Describe, Discover and Invoke a web service in .NET using SOAP SDK 3.0 and UDDI SDK 2.0 beta on .NET SDK 1.1. Background UDDI (Universal Description Discovery and Integration) is a standard that defines
Posted by samar | 0 Comments
Filed under: ,

Retrieving SOAP Envelope from WebException

Web Services might be invoked using HttpWebRequest. If the invocation raises a service specific exception, the WebException’s Message property gives “Internal Server Error (500)”. There exists a need to parse the WebException object to retrieve the original
Posted by samar | 0 Comments
Filed under: ,

Granting EXECUTE privilege on group of stored procedures to a specified user

CREATE proc grants(@procs varchar(100),@user varchar(100)) as declare curse cursor for select name from sysobjects where type='P' and name like @procs OPEN CURSE declare @proc varchar(100) declare @stmt nvarchar(200) fetch next from curse into @proc while
Posted by samar | 0 Comments
Filed under:

Working with custom sections in app|web.config

Requirement may arise to define a custom section in app.config or web.config configuration file(s), to load a related but dynamic data for configuration purpose. Following is an example of how this can be achieved; element contains a sub element where
Posted by samar | 0 Comments
Filed under:

Intercepting Downloads in ASP.NET

There might be general situations when developer needs to provide a download link to users for any kind of document that may include but not limited to doc, pdf, zip etc. However, the scenarios do exist when developer wants to authenticate the users before
Posted by samar | 0 Comments
Filed under:

Selecting XML nodes defined with namespaces

While isolating nodes with custom namespace definition, it might be problematic to retrieve the nodes using XPath (SelectSingleNode or SelectNodes methods). Because if the target XML document contains a URN prefix in the node, that has to be defined and
Posted by samar | 0 Comments

HTA (HyperText Applications): Caveats and Features

Caveats: 1. Security: HTAs bypass the Internet Explorer's advanced settings to disable/enable active scripting, which leads to vulnerability in system to malfunction. However, since the HTAs interact with local system (using ActiveXObjects) for file/DB
Posted by samar | 0 Comments
 
Page view tracker