store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Fri Dec 14, 2018 7:45 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to prevent javascript in textarea
Unread postPosted: Mon Jun 25, 2018 6:32 am 
Offline
New Forum User
New Forum User

Joined: Mon Jun 25, 2018 6:14 am
Posts: 2
Location: Singapore
Hi,

I'm currently trying out Atomic Basic ModSecurity in Plesk.

It does detect and prevent javascript in input text field, but not in textarea.

Greatly appreciate if you can help this novice :D

Much thanks & regards
John


Top
 Profile  
Reply with quote  
 Post subject: Re: How to prevent javascript in textarea
Unread postPosted: Mon Jun 25, 2018 1:55 pm 
Offline
New Forum User
New Forum User

Joined: Mon Jun 25, 2018 6:14 am
Posts: 2
Location: Singapore
Oh... I think I found the answer, but please let me know if I've done it wrongly.

I added ARGS_POST|ARGS_GET in SecRule of the file 50_plesk_basic_asl_rules.conf and it works.

Previously it only works for INPUT TEXT. Now it works for TEXTAREA too.

Much thanks
John Low


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group