Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 3797 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > How to prevent Script Injection Attacks ? ...
Akiii

How to prevent Script Injection Attacks ?

Replies: 19 | Posted by: Akiii on 5/20/2012 | Category: ASP.NET Forums | Views: 1203 | Status: [Member] | Points: 10  


Hi friends,

I read some articles regarding XSS or Script Injection Attacks. In those articles it is said that you can deal with it by turning off the request validation in the web.config file. for example :-

<pages validateRequest="true" />



Is it a good process to do this ?


Thanks and Regards
Akiii


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Ravianand
Ravianand  
Posted on: 5/21/2012 5:02:43 AM
Level: Starter | Status: [Member] | Points: 25

www.asp.net/mvc/tutorials/.../preventing-javascript-injection-attacks-.
refer Above link

Regards,
Ravi

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Akiii
Akiii  
Posted on: 5/21/2012 5:41:29 AM
Level: Bronze | Status: [Member] | Points: 25

The link is broken @Ravi.....


Akiii

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Ravianand
Ravianand  
Posted on: 5/21/2012 7:22:06 AM
Level: Starter | Status: [Member] | Points: 25

http://www.asp.net/mvc/tutorials/older-versions/security/preventing-javascript-injection-attacks-cs

Now try above link...

Regards,
Ravi

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Akiii
Akiii  
Posted on: 5/21/2012 8:07:39 AM
Level: Bronze | Status: [Member] | Points: 25

Thanks @Ravi, that is a good link !

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Vuyiswamb
Vuyiswamb  
Posted on: 5/21/2012 10:50:40 AM
Level: NotApplicable | Status: [Member] [MVP] [Administrator] | Points: 25

it depends on the application you write and also on the page location within your website.

Thank you for posting at Dotnetfunda
[Administrator]

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Akiii
Akiii  
Posted on: 5/21/2012 11:13:43 AM
Level: Bronze | Status: [Member] | Points: 25

@Vuyiswa .......but Sir, If I set the attribute to false, then am i making my site vulnerable to different kinds of threats on the web ?



Regards
Akiii

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Vuyiswamb
Vuyiswamb  
Posted on: 5/21/2012 1:27:51 PM
Level: NotApplicable | Status: [Member] [MVP] [Administrator] | Points: 25


Yes it does open doors to some vulnerability. but let

Being part of .NETFUNDA comes with benefits. I am offering a service of Web vulnaribility testing, but because you are a dotnetfunda user, i will provide it for free to you. i will submit reports on how to fix the vulnaribity that i will find when i look for them.



Thank you for posting at Dotnetfunda
[Administrator]

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Akiii
Akiii  
Posted on: 5/21/2012 9:19:52 PM
Level: Bronze | Status: [Member] | Points: 25

@Vuyiswa .....Thank you very much Sir for offering me the service. Looking forward to that !


Thanks and Regards
Akiii

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Vuyiswamb
Vuyiswamb  
Posted on: 5/22/2012 2:04:53 AM
Level: NotApplicable | Status: [Member] [MVP] [Administrator] | Points: 25

Thank you for posting at Dotnetfunda. you know how to contact me, i will only need a URL that side and i will give you a report.

Thank you for posting at Dotnetfunda
[Administrator]

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Akiii
Akiii  
Posted on: 5/22/2012 2:06:50 AM
Level: Bronze | Status: [Member] | Points: 25

Sir what url do you need ?
I couldn't understand, please explain it to me !


Thanks and Regards
Akiii

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Vuyiswamb
Vuyiswamb  
Posted on: 5/22/2012 2:09:13 AM
Level: NotApplicable | Status: [Member] [MVP] [Administrator] | Points: 25

if you want me to do a web vulnerability testing on your web application , you must deploy it to your server and give me the URL to test the vulnerability on the site and i will give you the report and how to fix them

Thank you for posting at Dotnetfunda
[Administrator]

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Akiii
Akiii  
Posted on: 5/22/2012 2:13:06 AM
Level: Bronze | Status: [Member] | Points: 25

I understand Sir but I don't think this will not be allowed by my company. I personally don't have any blog or website Sir.

Thank you very much for your offer but can you use a different site ?



Thanks and Regards
Akiii

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Muhsinathk
Muhsinathk  
Posted on: 6/14/2012 4:48:01 AM
Level: Bronze | Status: [Member] | Points: 25

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Muhsinathk
Muhsinathk  
Posted on: 6/14/2012 4:51:00 AM
Level: Bronze | Status: [Member] | Points: 25

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Akiii
Akiii  
Posted on: 6/14/2012 4:57:59 AM
Level: Bronze | Status: [Member] | Points: 25

@Muhsinathk.......Thanks for the link !



Thanks and Regards
Akiii

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Muhsinathk
Muhsinathk  
Posted on: 6/14/2012 5:38:45 AM
Level: Bronze | Status: [Member] | Points: 25

Welcome..

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Muhsinathk
Muhsinathk  
Posted on: 6/14/2012 5:39:57 AM
Level: Bronze | Status: [Member] | Points: 25

Hope you understand it.
Mark as Answer if its helpful to you...

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

CGN007
CGN007  
Posted on: 6/14/2012 9:59:39 AM
Level: Silver | Status: [Member] | Points: 25

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

CGN007
CGN007  
Posted on: 6/14/2012 10:00:25 AM
Level: Silver | Status: [Member] | Points: 25

Akiii, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/19/2013 11:14:18 PM