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:798122
More Search Options
RSS Available
Matching Posts
Re: How do you disable the Back Button?
I typically add a session value that I can use to check if the user's been to this page already or not, so something like: //Page you don't want user coming back to protected void Page_Load(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetExpires(DateTime.Now); //watch for null values if( Session["VisitedPage"] != null && Convert.ToBoolean(Session["VisitedPage"])) Reponse.Redirect("~/somewhereelse.aspx"
Posted to
Data Presentation Controls
(Forum)
by
jstrosch
on 5/14/2009
Re: How do you disable the Back Button?
The best solution I've come up with is based out of this article: http://www.4guysfromrolla.com/webtech/111500-1.shtml
Posted to
Data Presentation Controls
(Forum)
by
jstrosch
on 5/13/2009
Re: E-comm Hosting and Credit Card Info
Two resources that I've used to help try and build secure e-commerce sites are: https://www.pcisecuritystandards.org/security_standards/pci_dss_download.html (section 3 & 4) http://www.owasp.org/index.php/Handling_E-Commerce_Payments One thing i've heard of being a large risk in a shared hosting environemnt is that your security is tied to how well the other sites are built, it's possible that someone can compromise your db/web app. by breaking in through another site (since they're
Posted to
Commerce Extensions
(Forum)
by
jstrosch
on 4/7/2009
Re: VS2008 and Ajax
For your third question I find a lot of useful information here: http://weblogs.asp.net/scottgu/archive/2007/07/30/asp-net-ajax-in-net-3-5-and-vs-2008.aspx (his site provides a search feature).
Posted to
Visual Studio 2008
(Forum)
by
jstrosch
on 3/17/2009
Re: Microsoft.Security namespace does not appear
Did you include the dll as a reference? I had to add a reference to the AntiXss dll in my bin folder. I found the AntiXssLibrary.dll in C:\Program Files\Microsoft Information Security\Microsoft Anti-Cross Site Scripting Library v3.0 Beta\Library with a default installation.
Posted to
Anti-Cross Site Scripting Library
(Forum)
by
jstrosch
on 3/3/2009
Re: Recommend a provider for gateway/merchant processing?
I have just completed migrating the company I currently work for to YourPay. YourPay is the gateway and First Data Merchant Services (FDMS) is the merchant account. YourPay has been a lot easier to work with (we were using EFSNet before) than our previous gateway. They also provide a nice object model for .net web applications, so it made integrating their service with our site very easy.
Posted to
Commerce Extensions
(Forum)
by
jstrosch
on 2/12/2009
Re: Problem with AttributeEncoding href
I'm going to give this a try. When you use the inline version of HtmlAttributeEncode it takes "javascript:alert('xss');" and turns it into: "javascript:alert('xss');" If you look at the response you'll see the ascii encoded version, if you look at the source of the html page you'll see "javascript:alert('xss');" in the href. It appears that the browser marks the ascii encoding back up to html
Posted to
Anti-Cross Site Scripting Library
(Forum)
by
jstrosch
on 2/11/2009
Re: Using AntiXss?
It would appear that the antixss library could break a lot of valid links by encoding it. Another possible solution would be to look for malicious code, such as 'javascript' and then sanitize it or block it, but that seems to be an undesirable solution as it is very difficult to write a comprehensive list of all the values you should block. Another possible solution might be to use a regex to match against only a certain set of charactesr you allow, such as: [a-z0-9&?\.]. The regex could
Posted to
Anti-Cross Site Scripting Library
(Forum)
by
jstrosch
on 1/30/2009
Re: Using AntiXss?
using AntiXss.javascriptencode might help. It takes something like: javascript:alert('xss') and converts into: 'javascript\x3aalert\x28\x27xss\x27\x29\x3b'. Looking at this list (by no means comprehensive) http://www.owasp.org/index.php/Script_in_IMG_tags that would prevent the cases listed there by eliminating the semicolon. I would just avoid allowing user input as the value for the image src property.
Posted to
Anti-Cross Site Scripting Library
(Forum)
by
jstrosch
on 1/30/2009
Re: Using AntiXss?
For case 1it depends on what you mean. If you want to make sure that the data coming from the datasource is properly encoded than I typically do something like: <asp:LinkButton CommandArgument='<%# SanitizeOutput(Convert.ToString(Eval("UserName"))) %>' runat="server" etc.... And in the code behind i would define SanitizeOutput as follows: public string SanitizeOutput (string output) { return Server.HtmlEncode(output); // or you could download the antixss library
Posted to
Anti-Cross Site Scripting Library
(Forum)
by
jstrosch
on 1/29/2009
Page 1 of 2 (15 items) 1
2
Next >
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online