Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:616228
More Search Options
RSS Available
Matching Posts
Re: WHY AM I GETTING THIS ERROR?
I would be happy to help you get to the bottom of this problem. Can you follow the steps that you suggested and provide a link to the zipped project, which I can download? I am happy to investigate from this point for you.
Posted to
Getting Started
(Forum)
by
UkBtlog
on 2/25/2009
Re: Malicious Code and User Input
I just realised that I didn't reply to your original question on whether you should bother with your own regex function to clean up potentially malicious text. IMO, yes it is very important that you bother. The ValidateRequest feature only covers a particular set of vunerabilities. It was never meant to be exhaustive. For some light reading check out the patterns and practices site on security guidelines: .NET Framework 2.0. http://msdn.microsoft.com/en-us/library/aa480477.aspx#pagguidelines0003_class4
Posted to
Web Forms
(Forum)
by
UkBtlog
on 2/24/2009
Re: Malicious Code and User Input
As this regular expression looks like a constant for your site I would suggest storing this in the Application object rather than Session. Session will is for every user to the site so this is memory overhead. Application is for any user to the application. So your code would look like Add to you global.asax code behind Sub Application_Start( ByVal sender As Object , ByVal e As EventArgs) ' Fires when the application is started Application.Add( "ValidateStringRegex" , "^[^<>
Posted to
Web Forms
(Forum)
by
UkBtlog
on 2/24/2009
Re: How to tell if file exists on another machine via virtual directory
You are most likely running into a security issue. The asp.net worker process may not have access to talk to your network drives. If you are running XP it is the ASPNET user that runs the worker process if it is 2003 then it is NETWORK SERVICE that runs the worker process. You can make this work using impersonation. So you have to make the worker process run under a user that has elevated security rights.
Posted to
Getting Started
(Forum)
by
UkBtlog
on 6/14/2006
Re: session doesn't work
Never append your variable is to stop the problems of Sql Injection. Google has lots of useful links http://www.google.co.uk/search?hl=en&q=sql+injection+.net&meta = The Wikipedia discussion is pretty good. http://en.wikipedia.org/wiki/SQL_injection
Posted to
Getting Started
(Forum)
by
UkBtlog
on 6/9/2006
Re: Is file open?
Here is a thread http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=452322&SiteID=1 at the microsoft .net forums that may give you the info that you are after.
Posted to
Getting Started
(Forum)
by
UkBtlog
on 6/8/2006
Re: Creating html radio button dynamically
I have just created this test page and it works fine. Could provide more of your code so I can replicate the issue and help you resolve it. <% @ Page Language ="C#" AutoEventWireup ="true" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < script runat ="server" language ="C#"> void Page_Load() { HtmlInputRadioButton rdbtn = new HtmlInputRadioButton (); rdbtn.Name = "rdSelect" ; rdbtn.Value = "1" ; Page
Posted to
Web Forms
(Forum)
by
UkBtlog
on 6/6/2006
Re: print problem
A problem that I have had with networked printers is security. If you are running this on XP you are probably running under the Local Service user, which does not have access to the network, where as the built in web server is running with your logged in credentials which would have the necessary permissions. Just a thought.
Posted to
Getting Started
(Forum)
by
UkBtlog
on 6/6/2006
Re: creating an export file on a users client - please help!
As an aside you can shorten this DatePart(DateInterval.Year, Now) & " - " & DatePart(DateInterval.Month, Now) & " - " & DatePart(DateInterval.Day, Now) & " - " & DatePart(DateInterval.Hour, Now) & " - " & DatePart(DateInterval.Minute, Now) & "TestFile.txt" to DateTime.Now.ToString( "yyyy - MM - dd - HH - mm" ) & "TestFile.txt" This is easier to read, easier to write and more performant.
Posted to
Getting Started
(Forum)
by
UkBtlog
on 6/6/2006
Re: creating an export file on a users client - please help!
Using ASP.NET out of the can you can never write directly to the users machine. This would be a massive security problem. The standard way do do the sort of thing you are after is to return the data in the Response stream and change the Content Type so that it doesn't display as html Something like Response.Write("hello") Response.Write(Environment.NewLine) Response.Write("Another Line") ' Change the content type so the browser knows what type of data it is receiveing Response.ContentType = "text
Posted to
Getting Started
(Forum)
by
UkBtlog
on 6/6/2006
Page 1 of 67 (662 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
AlignIT IT Manager Podcast #32: Agile Application Lifecycle Management
Channel 9:
Bharat Shah: Microsoft Online Services Overview
ASP.NET:
RIA Services Link Listing #1
Channel 9:
Reactive Extensions API in depth: Merge
TechNet Edge:
Forefront Protection for Exchange customer story
WindowsClient:
Windows Client Developer Roundup for 12/7/2009
WindowsClient:
Introducing the new Bing Maps beta
ASP.NET:
My Presentations in Europe (December 2009)
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online