Hi everyone,
I am developing an e-Finance system which handles all the financial activities of the organisation i am working under. In developing such system, many security measures should be implemented. Hence, i am trying to use .htaccess in order to secure my filenames, file extensions, etc.
For the file extension i tried these Expression and worked for me.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
</IfModule>
I want ask if there is any way to change the file names to random numbers to represent the file name and hold the number as a temporary session which will be change when the browser is closed and recreate a new one when reopened.
I haven't try anything, therefore searching for a clue to go on with it.