A Sample PHP Project for the tts_framework.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
tts_project/src/configs/mockup/on_security.php

12 lines
684 B

<?php
\tts\main\configure::set('security', array(
'show_dumps' => true,
'key' => 'y8+HSfrO8wFknxND8SA2mQZBoYpPDeK+2FmIzdxFU9EmTsZ2rdo7GED0nt4DsKoHmbiBBIoNTMAfl+eEMv6qeA==',
'main_salt' => 'e6fde23484881a29f7b6c6459456f3e1',
'csrf_security_level' => 'high', // Stop Attacks at what cost??
'retries_allowed_before_throttling' => 3, // Reties attempts allowed for login, before it throttles it...
'throttling_login_seconds' => 20, // Seconds to deny more login attempts
'password_hash' => PASSWORD_BCRYPT,
'password_hash_options' => ['cost' => 10], // Default=10. This is a good baseline cost, but you may want to consider increasing it depending on your hardware.
));