HS Banner
HS Codebank Articles
Page 1 of 1

PHP Form Validation 01/28/2024

Description:

Think SECURITY when processing PHP forms! This shows how to process PHP forms with security in mind. Proper validation of form data is important to protect your form from hackers and spammers!

Author: Admin
Language: PHP
Tags: php security forms
Read More

PHP Crypt 02/11/2023

Description:

crypt() will return a hashed string using the standard Unix DES-based algorithm or alternative algorithms. password_verify() is compatible with crypt(). Therefore, password hashes created by crypt() can be used with password_verify().

Author: Admin
Language: PHP
Tags: php crypt hash password
Read More

Securing Session INI Settings for PHP 02/17/2022

Description:

By securing session related INI settings, developers can improve session security. Some important INI settings do not have any recommended settings. Developers are responsible for hardening session settings.

Author: Admin
Language: Plain Text
Tags: php manual cookie securing session
Read More

Scan Your Website Headers 02/12/2022

Description:

Here's a great site to scan the security headers for your website.

Author: Guitarman
Language: Plain Text
Tags: headers security
Read More

Web Application Penetration Testing 01/29/2022

Description:

Penetration testing or ethical hacking is a proactive way of testing your web applications by simulating an attack that's similar to a real attack that could occur on any given day.

Author: Admin
Language: Plain Text
Tags: penetration testing kali linux
Read More

Example of .htaccess for PHP 10/06/2021

Description:

A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, used for configuration of website-access issues, such as URL redirection, URL shortening, access control (for different web pages and files), and more. The 'dot' (period or full stop) before the file name makes it a hidden file in Unix-based environments.

Author: Admin
Language: HTTP
Tags: html .htaccess php
Read More

PHP Filesystem Security 04/03/2021

Description:

Anyone learning PHP should read this and the rest of the security section in the PHP manual.

Author: Admin
Language: PHP
Tags:
Read More

SHA512 Class 03/30/2021

Description:

This is the SHA512 HASH using the System.Security.Cryptography.HashAlgorithm.

Author: Admin
Language: C#
Tags: sha512
Read More

SHA256 Class 03/19/2021

Description:

Computes the SHA256 hash for the input data.

Author: admin
Language: C#
Tags: cs
Read More

HS-HASH 03/19/2021

Description:

HS-HASH is a data hashing class that uses a secure hash algorithm and returns the hashed value of the entered string.

Author: admin
Language: C#
Tags: hs hash sha512 sha256
Read More

Submit Your Code

If you would like to share your code on HS Codebank you can submit it by registering and clicking the submit article button on this page.
LoginRegisterContact Us

List of Supported Languages
Apache Config
Bash
C
C#
C++
CoffeeScript
CSS
Diff
GO
HTML, XML
HTTP
Java
JavaScript
JSON
Kotlin
Less
Lua
Makefile
Markdown
Nginx Config
NSIS
Objective-C
Perl
PHP
Plain Text
PowerShell
Properties
Python
Python REPL
R
Ruby
Rust
SCSS
Shell Session
SQL
Swift
TOML, also INI
TypeScript
VB Script
Visual Basic .NET
YAML
Request New Language