Find Jobs
Hire Freelancers

This code is enough for protection from Xss and url attacks?

$30-250 USD

Closed
Posted about 5 years ago

$30-250 USD

Paid on delivery
use voku\helper\AntiXSS; require_once __DIR__ . '/vendor/[login to view URL]'; $antiXss = new AntiXSS(); $antiXss->xss_clean($_GET["ID"]); RewriteEngine On RewriteBase / RewriteCond %{REQUEST_METHOD} (DELETE|PUT|POST|PATCH) RewriteRule .* - [R=403,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_FILENAME} -l RewriteRule ^ - [L]
Project ID: 18906726

About the project

2 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $87 USD for this job
User Avatar
Hi, there is not one sure-fire way to make a website secure. I use several different techniques to make sure that the input I get from the users is correct. For example, if we need to accept only IDs which are composed solely of digits we can use "ctype_digit" function to check it. In that case we don't have to use AntiXss to clean the ID because ctype_digit is way faster than AntiXss->xss_clean() method. I also use filter_input and filter_var methods to check for correct input as well. Anyways, I bid only to give you some advice. If you need my advice then surely you can send me a message. I would be more than happy to help you.
$30 USD in 3 days
4.9 (40 reviews)
5.8
5.8
User Avatar
hello, i am Cyber Security Expert with near 6 years of experience. no this code is not enough for XSS. contact me................................................................................................ Thank you.
$144 USD in 2 days
4.5 (35 reviews)
5.3
5.3

About the client

Flag of TURKEY
Turkey
0.0
0
Payment method verified
Member since Sep 19, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.