onk= -> why this string causes security errors ? it is'nt "<" neighter ">"
?? 5 1150
This security check is done on postback data because that syntax could be
a cross site scripting attack, which means a malicious user posts <script>
blocks (and perhas other bad things). The typical problem is that most web
apps don't escape the post data when it's then showed back to other users.
This means the script gets executed in someone else's browser and it could
do things like steal cookies. Google for cross site scripting to learn more.
You can disable this security check via validateRequest ="false": http://msdn.microsoft.com/library/de...gessection.asp
-Brock
DevelopMentor http://staff.develop.com/ballen onk= -> why this string causes security errors ? it is'nt "<" neighter ">" ??
hi brock ,
I know about cross site scripting but it should check "<" or ">" but why
this phrase "onk=" causes an error ? try it.
"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:49******** **************@ msnews.microsof t.com... This security check is done on postback data because that syntax could be a cross site scripting attack, which means a malicious user posts <script> blocks (and perhas other bad things). The typical problem is that most web apps don't escape the post data when it's then showed back to other users. This means the script gets executed in someone else's browser and it could do things like steal cookies. Google for cross site scripting to learn
more. You can disable this security check via validateRequest ="false":
http://msdn.microsoft.com/library/de...gessection.asp -Brock DevelopMentor http://staff.develop.com/ballen onk= -> why this string causes security errors ? it is'nt "<" neighter ">" ??
Yeah, I see that.... Well, the validate request feature is not going to catch
everything and it's just doing rough checks. So, you can disable the page
check and do your own.
BTW, this input is allowed in ASP.NET 2.0. The implementation of the validation
has changed slightly to not be do restrictive.
-Brock
DevelopMentor http://staff.develop.com/ballen hi brock ,
I know about cross site scripting but it should check "<" or ">" but why this phrase "onk=" causes an error ? try it.
"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message news:49******** **************@ msnews.microsof t.com...
This security check is done on postback data because that syntax could be a cross site scripting attack, which means a malicious user posts <script> blocks (and perhas other bad things). The typical problem is that most web apps don't escape the post data when it's then showed back to other users. This means the script gets executed in someone else's browser and it could do things like steal cookies. Google for cross site scripting to learn more.
You can disable this security check via validateRequest ="false": http://msdn.microsoft.com/library/de...ry/en-us/cpgen ref/html/gngrfpagessecti on.asp
-Brock DevelopMentor http://staff.develop.com/ballen onk= -> why this string causes security errors ? it is'nt "<" neighter ">" ??
ok.but my question was why this happens ? I know it is causing error.But is
it a bug? Because it is not a dangereous request for an web application. I
wonder if is it an encoded character resulting "<" character or what ?
"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message
news:50******** **************@ msnews.microsof t.com... Yeah, I see that.... Well, the validate request feature is not going to
catch everything and it's just doing rough checks. So, you can disable the page check and do your own.
BTW, this input is allowed in ASP.NET 2.0. The implementation of the
validation has changed slightly to not be do restrictive.
-Brock DevelopMentor http://staff.develop.com/ballen hi brock ,
I know about cross site scripting but it should check "<" or ">" but why this phrase "onk=" causes an error ? try it.
"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message news:49******** **************@ msnews.microsof t.com...
This security check is done on postback data because that syntax could be a cross site scripting attack, which means a malicious user posts <script> blocks (and perhas other bad things). The typical problem is that most web apps don't escape the post data when it's then showed back to other users. This means the script gets executed in someone else's browser and it could do things like steal cookies. Google for cross site scripting to learn more.
You can disable this security check via validateRequest ="false": http://msdn.microsoft.com/library/de...ry/en-us/cpgen ref/html/gngrfpagessecti on.asp
-Brock DevelopMentor http://staff.develop.com/ballen onk= -> why this string causes security errors ? it is'nt "<" neighter ">" ??
The implementation in v1.1 is fairly restrictive and in v2.0 it's changed.
So perhaps it was a bug and it's fixed in v2.0. I don't know the dev that
worked on it, so I can't say for sure.
-Brock
DevelopMentor http://staff.develop.com/ballen ok.but my question was why this happens ? I know it is causing error.But is it a bug? Because it is not a dangereous request for an web application. I wonder if is it an encoded character resulting "<" character or what ?
"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message news:50******** **************@ msnews.microsof t.com...
Yeah, I see that.... Well, the validate request feature is not going to catch
everything and it's just doing rough checks. So, you can disable the page check and do your own.
BTW, this input is allowed in ASP.NET 2.0. The implementation of the validation
has changed slightly to not be do restrictive.
-Brock DevelopMentor http://staff.develop.com/ballen hi brock ,
I know about cross site scripting but it should check "<" or ">" but why this phrase "onk=" causes an error ? try it.
"Brock Allen" <ba****@NOSPAMd evelop.com> wrote in message news:49******** **************@ msnews.microsof t.com...
This security check is done on postback data because that syntax could be a cross site scripting attack, which means a malicious user posts <script> blocks (and perhas other bad things). The typical problem is that most web apps don't escape the post data when it's then showed back to other users. This means the script gets executed in someone else's browser and it could do things like steal cookies. Google for cross site scripting to learn
more.
You can disable this security check via validateRequest ="false":
http://msdn.microsoft.com/library/de...rary/en-us/cpg en ref/html/gngrfpagessecti on.asp
-Brock DevelopMentor http://staff.develop.com/ballen > onk= -> why this string causes security errors ? it is'nt "<" > neighter ">" ?? > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ashish |
last post by:
Hi Guys
I am getting the following error while implementing authentication using
WS-security.
"Microsoft.Web.Services2.Security.SecurityFault: The security token could
not be authenticated or authorized ---> System.Exception: WSE565: The
password provided the SecurityTokenManager does not match the one on the
incoming token. at
Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyPlainText
|
by: Ken Cox [Microsoft MVP] |
last post by:
MS has posted this here:
http://www.asp.net/faq/ms03-32-issue.aspx
Fix for: 'Server Application Unavailable' Error after Applying Security Update
for IE
-------------------------------------------------------------------------------
-
|
by: Marina |
last post by:
Hi,
I am trying to find the minimum security settings to allow a windows control
embedded in IE have full trust.
If I give the entire Intranet zone full trust, this works. However, this is
very broad and gives the entire zone high privleges.
I tried giving just the assembly full trust (using the full URL for the
DLL), but this doesn't seem to work.
|
by: Patrick |
last post by:
I have the following code, which regardless which works fine and logs to the
EventViewer regardless of whether
<processModel/> section of machine.config is set to username="SYSTEM" or
"machine"
---Start of test.aspx----
<%@ Page language="C#" AutoEventWireup="false" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
|
by: Brian Takita |
last post by:
Hello,
I'm getting the following error at the end of this message when trying
to run the ReportManager and the ReportServer:
Assembly system.data.dll security permission grant set is incompatible
between appdomains.
I had to apply KB 887787 (http://support.microsoft.com/?kbid=887787) to
fix my previous error, which stated...
Assembly microsoft.web.validatepathmodule.dll security permission grant
| |
by: Luis Esteban Valencia |
last post by:
Hello I have this error when I submit the page with the following code. I
had never see this kind of errors.
Thanks
private void btnsubmit_Click(object sender, System.EventArgs e)
{
string requestLocation = "http://estacion15/HTTPSender/BTSHTTPReceive.dll";
|
by: Dave |
last post by:
I am getting te following error in a ASP.Net app that is running on Win XP
Pro (SP2):
Server cannot access application directory 'C:\Documents and
Settings\dave\My Documents\My Visual Studio ASP.NET\MyWebSite\'. The
directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information...
|
by: John Kotuby |
last post by:
Hello all,
Note: This is the full version of a Post that I inadvertently sent before it
was complete.
About a year ago I wrote a VB.NET 2003 solution that consists of a number
of assemblies (1 EXE and 15 DLLS). As I recall, in order to deploy the
solution to a testing server I simply copied the contents of the Bin folder
in the development area where the compiled assemblies reside. Be patient
with me here, because I haven't used...
|
by: Mike |
last post by:
Hi
I have problem as folow:
Caught Exception: System.Configuration.ConfigurationErrorsException:
An error occurred loading a configuration file: Request for the
permission of type 'System.Security.Permissions.FileIOPermission,
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' failed. (machine.config) --->
System.Security.SecurityException: Request for the permission of type
|
by: Henry Stock |
last post by:
I am trying to understand the following error:
Any thing you can tell me about this is appreciated.
Security Exception
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this application the required permission
please contact your system administrator or change the application's trust
level in the configuration file.
Exception Details: for the permission of type
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |