Codeigniter

global xss filtering in codeigniter

Global XSS Filtering In Codeigniter

What is XSS ?? Cross-site Scripting (XSS) is a client-side code injection attack. The attacker injects malicious scripts in our website by using a contact form or other any form. How to Prevent this This is another best feature of Codeigniter to prevent cross-site scripting enable $config[‘global_xss_filtering’] = TRUE; in the config.php file. It will …

Global XSS Filtering In Codeigniter Read More »

Share πŸ‘‡
remove index.php coeigniter

How to hide index.php from codeigniter website

to remove this firstly create .htaccess named file in your main app folder RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] add this code to your .htaccess file and save it change $config[‘index_page’] = ”; and $config[‘uri_protocol’] = ‘REQUEST_URI’; in your config.php file. save the file, run the app without index.php …

How to hide index.php from codeigniter website Read More »

Share πŸ‘‡